OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: Kilo11 on 24 May 2005, 23:55:30
-
Im having a bit of trouble trying to add an action that ALL players could use while in a MP game.
I simple want an action that will bring up a target (setting dammage to 0)
How could I do this? Sorry this is simple noob question...but I have been editing for 4 years and some things slip my mind or I never learn them lol.
-
Anyone :'(
-
INIT.sqs
tx_target = Player addaction ["Make target","target.sqs"]
target.sqs
tx_target1 = "TARGET" createvehicle POSITION"
where TARGET = classname of object you want to create
where POSITION = location where you want the target created
-
If that action is added in a script make sure that script runs on all clients.