Home   Help Search Login Register  

Author Topic: Adding Multiplayer Action  (Read 1299 times)

0 Members and 1 Guest are viewing this topic.

Kilo11

  • Guest
Adding Multiplayer Action
« 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.

Kilo11

  • Guest
Re:Adding Multiplayer Action
« Reply #1 on: 25 May 2005, 18:23:20 »
Anyone :'(

Offline Terox

  • Former Staff
  • ****
  • Follow the Sappers!
    • zeus-community.net
Re:Adding Multiplayer Action
« Reply #2 on: 25 May 2005, 20:03:26 »
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
« Last Edit: 25 May 2005, 20:03:48 by Terox »
Zeus ARMA2 server IP = 77.74.193.124 :2302
Teamspeak IP = 77.74.193.123

hermano

  • Guest
Re:Adding Multiplayer Action
« Reply #3 on: 06 Jul 2005, 16:19:23 »
If that action is added in a script make sure that script runs on all clients.