OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: SafetyCatch on 08 Nov 2004, 14:20:37
-
Anyone know how to make it so when a unit respawns, their weapons are removed??
Thanks
Safety
-
Here's a sample script that should do what you want:
@time > 1
@!alive player
#start
@alive player
removeAllWeapons player
@!alive player
goto "start"
Put that into a script that executes on each client's PC and it should work.
-
Ok cool cheers, so I put it in each playable units init line, for example?? ???
-
you would need to put that into a script, and in the init line if the unit you would put [] exec "NameOfScript.sqs"
-
Yer that's what I meant :)