Home
Intel Depot
Editors Depot
Missions Depot
Addons Depot
Forum
Home
Help
Search
Login
Register
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting Multiplayer
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
Respawn with chosen weapon.
« previous
next »
Send this topic
Print
Pages:
1
[
2
]
All
Go Down
Author
Topic: Respawn with chosen weapon. (Read 3788 times)
0 Members and 3 Guests 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
Logged
Terox
Former Staff
Follow the Sappers!
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
Logged
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.
Logged
Send this topic
Print
Pages:
1
[
2
]
All
Go Up
« previous
next »
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting Multiplayer
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
Respawn with chosen weapon.
Top of page