OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: dan ick on 12 Jan 2005, 00:36:43
-
Q1.HOW do i get a soldier to put a satchel charge down,but not set it off till the vehicle arrives,i know syncing and stuff like that i just dont know the command for just placing the charge without a timer.
Q2.When i have a soldier in the playmove "FXStandSurUniv",how come I cant kill the MOTHER.IF anyone knows a way round this could they leave a EXPLANATION FOR NOOBULATORS.
THANKS ??? :'(
-
1) soldier fire ["put", "pipeBomb"]
2) You will have to check when he is dead, then bring him out of the playmove. Use this script. ex.
#Loop
?!alive _man: goto "End"
~.1
goto "Loop"
#End
_man switchmove "deadstate"
exit
You can also use
_man switchmove ""
I hope that helps!
EDIT:
Using
_man switchmove "FXStandSurDead"gives a better result.
-
Hi,
I have made a very simple test mission for you, so you won't have to use scripts.
- In C:\Operation Flashpoint\Users\DanIck\missions Make a map called DanIck.Noe
- Put the mission.sqm in it.
- Goto the mission editor, and test it. 8)
-
Making a script is just unneccesary, you get the same result in a trigger:
condition: !(alive man1)
on act: man1 switchmove " "
:beat: *Gets Shot* :beat: