OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: acepilotray on 19 Aug 2005, 03:50:23
-
is the script that makes a scud fire?
also is there a script to make a explosin or make a plane land ???
-
Question 1 - Scud fire...
name_of_scud action ["scud launch"]Makes scud missile move to vertical ready-to-launch position
name_of_scud action ["scud start"]Makes scud missile ignite and launch
Question 2 Create explosion...
Read
http://www.ofpec.com/yabbse/index.php?board=6;action=display;threadid=24863
Question 3 - Land plane...
Try to put a getout waypoint on the runway (I'm not sure about this)
-
Question 1 - Scud fire...
Code:name_of_scud action ["scud launch"]
Makes scud missile move to vertical ready-to-launch position
Code:name_of_scud action ["scud start"]
Makes scud missile ignite and launch
your right but just alittle note it takes about 15 seconds for the scud to get into a launch state so for example
name_of_scud action ["scud launch"]
~15
name_of_scud action ["scud start"]
to be abit more exact
and question 3
im guessing that lies within the action landing auto pilot
have a look in the action thread
if not how about this flyinheight 0 and a limited speed waypoint ?
(probal not right just a guess)
-
There are at least two complete scud lauch-at-target-and-explode scripts. BAS made one, can't remember about the other. The BAS is embedded in one but, being blessed with silage for brains, I can't remember what. One of the later packs I think.
-
Question 3 - Land plane...
Try to put a getout waypoint on the runway (I'm not sure about this)
try:
plane land "land"
-
bored_onion
Both ways seems to work but the plane lands quicker with land "land"
I tried that on Malden and he lands and takes off again.
You should place a small trigger over the end of that runway to force him to stop.
Activation : Side of plane1
Condition : plane1 in thislist && Getpos plane1 select 2 < 0.2
Onactivation : plane1 setfuel 0
Attached a quick testmission, use the radio triggers to watch both planes.