OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Messiah on 15 Jun 2003, 19:24:05

Title: fxdismay.... and i am dismayed
Post by: Messiah on 15 Jun 2003, 19:24:05
ok - so im using fxdismay which makes the geezer spin round 180 degrees like he heard summit.... but after, he warps back to his original direction...

how can i make him remain at 180 degrees from where he started after the switchmove?
Title: Re:fxdismay.... and i am dismayed
Post by: Tomb on 15 Jun 2003, 19:41:31
run a scroll a the same time ya fire the anim, mezzy

something like:


_dir = direction moron


and then set his _dir when the show is over
Title: Re:fxdismay.... and i am dismayed
Post by: LCD on 15 Jun 2003, 19:48:24
tombs way is da best (i think) but it wil look ugly  :-X

LCD OUT
Title: Re:fxdismay.... and i am dismayed
Post by: Tomb on 15 Jun 2003, 19:52:34
depends...

but I gues (if this for some fance cutscene) one could make somekind of nifty workaround,
like a fast repeated setDir where the dir is:

setdir (_dir -2)
~0.08
setdir (_dir -1)
~0.08
setdir _dir


yanno ,  closing in  :)

Title: Re:fxdismay.... and i am dismayed
Post by: Messiah on 15 Jun 2003, 19:55:33
well... what i've done is do the switchmove and then put a small delay before using the setdir command to 180....

so he spins, and then he remains there... but then he returns to looking at his original posistion (this time by moving)

aaaarg so annoying.
Title: Re:fxdismay.... and i am dismayed
Post by: Tomb on 15 Jun 2003, 20:05:08
 ;D