OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: zenman1 on 25 Jun 2005, 04:42:00
-
How can I get a sniper to wait for someone to get out of a chopper.
and after the man gets out and salutes the AI sniper will shoot him?
Hope this wasnt a stupid question.
-
like this:
;in a script or a trigger
;condition field
@!(man in helicopter)
~1
;activation field
man playMove "IDON'T KNOW WHAT SALUTE IS"
~2
sniper doFire man
if you put this in a trigger you put the activation:
man playMove "IDON'T KNOW WHAT SALUTE IS"; sniper doFire man
Though you are going to have to make A LOT of work to make this thing work, like placing the sniper in the right position and so on... ;)
-
thanks this does work!