Home   Help Search Login Register  

Author Topic: Respawn with chosen weapon.  (Read 3209 times)

0 Members and 1 Guest are viewing this topic.

aazell

  • Guest
Re:Respawn with chosen weapon.
« Reply #15 on: 31 Jul 2003, 14:54:32 »
Would this work for the addaction removeaction commands.

In my MP map I have added a Take Cyanide action to all players using a trigger for each player to test that they are alive or not.

It acts very strangly though adding and removing the action about 5 times for each player when they respawn.

Any ideas would be really helpful.

Thanks

aaz

Offline Terox

  • Former Staff
  • ****
  • Follow the Sappers!
    • zeus-community.net
Re:Respawn with chosen weapon.
« Reply #16 on: 31 Jul 2003, 16:20:41 »
if you have an addaction added every time a player respawns, then you must have a remove action when he dies, or he may end up with 2 addactions the second time he becomes alive again
Zeus ARMA2 server IP = 77.74.193.124 :2302
Teamspeak IP = 77.74.193.123

aazell

  • Guest
Re:Respawn with chosen weapon.
« Reply #17 on: 31 Jul 2003, 19:10:54 »
I think I found the answer.

In my script I was using the "this" operator which is global. I think I should be using "_this" so that it's local to that script and that player only.

I'll let you know what I find.