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 General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
[]exc ".....sqs"
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: []exc ".....sqs" (Read 694 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?
Logged
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
Logged
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!!
Logged
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?
Logged
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?
Logged
_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
Logged
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
[]exc ".....sqs"
Top of page