OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Gooner861 on 25 Aug 2004, 15:48:10

Title: Quick switchmove thing in intro
Post by: Gooner861 on 25 Aug 2004, 15:48:10
Just wondering do u need to put in delays for ur switchmve's cos take a look at part of my script:

bob1 switchMove "Lying"

;=== 15:12:42
_camera camSetTarget [40501.80,97989.29,23.74]
_camera camSetPos [4765.24,4592.82,0.16]
_camera camSetFOV 0.563
_camera camCommit 0
@camCommitted _camera
Titletext["","BLACK IN",5]
~4
Titletext["Alpha Black in positon, preparing to move in","plain down",1]
~2
bob1 doMove getmarkerpos "move1"

do i need bob1's switchmove to have a delay after it because everytime the shot gets there he gets up after being lying down.

So pretty much what im asking is how do i keep him down for longer than 1 sec?!?

Cheers yet again

Gooner
Title: Re:Quick switchmove thing in intro
Post by: Blanco on 25 Aug 2004, 17:28:37
Try...

bob1 setbehaviour "STEALTH"
bob1 setunitpos "DOWN"







Title: Re:Quick switchmove thing in intro
Post by: bored_onion on 25 Aug 2004, 21:07:45
Code: [Select]
#loop
guy switchmove "lying"

~0.005

goto "loop"

give it a shot... might work
Title: Re:Quick switchmove thing in intro
Post by: Gooner861 on 25 Aug 2004, 21:40:31
Not need Blanco's tip work. Thanks for the help you two  ;D .