I have a history of having unsolvable problems on this board...
Anyway, I'm trying to pass a trigger from one cog to another. It works perfectly in singleplayer but it doesn't pass in multiplayer. The trigger is specific to the player (this isn't a client\server thing) however, I've also tried making the destination -1 as well.
I've tried making the cogs completely local (flag 0x404) but that didn't help either.
Here's a sample of the code:
[This message has been edited by Ping_Me (edited May 18, 2001).]
Anyway, I'm trying to pass a trigger from one cog to another. It works perfectly in singleplayer but it doesn't pass in multiplayer. The trigger is specific to the player (this isn't a client\server thing) however, I've also tried making the destination -1 as well.
I've tried making the cogs completely local (flag 0x404) but that didn't help either.
Here's a sample of the code:
Code:
code activated: player = GetSenderRef(); SendTrigger(-1, 1001, 0, 0, 0, 0); print("fire Sent"); return; end #------------------------- Other cog... #------------------------- trigger: if(GetSourceRef() == 1001) //if this is fire { print("Trigger Received"); F = F + 1; printflex(F); if((F + E + A + W + S) > 5) { Print("Weave too complex. Try again..."); F = 0; E = 0; A = 0; W = 0; S = 0; return; } }
[This message has been edited by Ping_Me (edited May 18, 2001).]