Home   Help Search Login Register  

Author Topic: []exc ".....sqs"  (Read 696 times)

0 Members and 1 Guest are viewing this topic.

titan

  • Guest
[]exc ".....sqs"
« on: 04 Apr 2003, 22:30:34 »
im starting to make my own scripts, and i dont know what needs to go in between the [ & ]. Any help?

ratpack91

  • Guest
Re:[]exc ".....sqs"
« Reply #1 on: 04 Apr 2003, 22:45:56 »
[an array of the variables you want to send to the script]

eg [soldier1,tank1]

you should really look at the tutorials for the basics

titan

  • Guest
Re:[]exc ".....sqs"
« Reply #2 on: 05 Apr 2003, 00:25:13 »
so its basically the name of smething u want to effect, say u have a man called aP, then you wld put in a trigger [aP]exc "....sqs" ?!?

if this is so, then what wld u put for it to pick up a marker?

im off over to the tut section now!!

titan

  • Guest
Re:[]exc ".....sqs"
« Reply #3 on: 05 Apr 2003, 01:11:52 »
ok, heres my script (which is most likely missing loads of stuff)


_nade1 = "grenade" camcreate getmarkerpos "nade1_1"
_nade2 = "grenade" camcreate getmarkerpos "nade1_2"
_nade3 = "grenade" camcreate getmarkerpos "nade1_3"


so basically where ever there is a marker called  "nade1_1" etc there will be a nade created when the script is activated. (markers will be made in Editor and exported into mission, so is basically a fixed marker).

so what if anything ami missing from the script. and what would i put in the [ ] if say i wanted it to be activated by radio alpha?

titan

  • Guest
Re:[]exc ".....sqs"
« Reply #4 on: 05 Apr 2003, 01:16:55 »
ok, heres my script (which is most likely missing loads of stuff)


_nade1 = "grenade" camcreate getmarkerpos "nade1_1"
_nade2 = "grenade" camcreate getmarkerpos "nade1_2"
_nade3 = "grenade" camcreate getmarkerpos "nade1_3"


so basically where ever there is a marker called  "nade1_1" etc there will be a nade created when the script is activated. (markers will be made in Editor and exported into mission, so is basically a fixed marker).

so what if anything ami missing from the script. and what would i put in the [ ] if say i wanted it to be activated by radio alpha?

_hammy_

  • Guest
Re:[]exc ".....sqs"
« Reply #5 on: 06 Apr 2003, 00:54:26 »
YOu dont need to put anything in the [] if that is your script :)