OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: cirkut5732 on 07 Aug 2005, 06:45:21

Title: End a switchmove animation
Post by: cirkut5732 on 07 Aug 2005, 06:45:21
Hey Blanco

You remeber a while back you helped me to keep a loon on its knees with its hand behind its back?
unitname switchmove "FXexecution"
unitname palymove "FXexecutiondead"

Well Ive decided I want the loon to eventually remove itself from that position and return to
standard position "no animations" but iv tried like switchmove "FXStandAtt" but he instantly moves to standing and playmove wont work.
Basically I wanna do a slowmow shot of the hostage putting his hands down standing up and then charging the executer in a fit of rage before the executer shoots him

Any suggestions


Oh ya I forgot to add, I tried this to
unit switchmove "FXexecution"
unit playmove "FXexecutiondead"
~245  (how long he needs to stay before charging the executer
exit



But that did not return the loon to no animation state
Title: Re:I need ya again Blanco! LOL
Post by: Blanco on 07 Aug 2005, 07:34:24
Try

Code: [Select]
unit switchmove "FXexecution"
unit playmove "FXexecutiondead"
~245
unit switchmove ""
exit
Title: Re:I need ya again Blanco! LOL
Post by: cirkut5732 on 07 Aug 2005, 08:55:31
It works Blanco but it's not a fluid animation, the loon kinda just jumps up and his hands are automatically at his side, I can make it work I guess if theres no other way
Either or Thanks for the quick reply!!
Title: Re:I need ya again Blanco! LOL
Post by: Blanco on 07 Aug 2005, 09:06:54
Yeah, I know... You have to find an animation to make it as fluid as possible.

What about "combattostand"?
That will make him stand up from a crouched position.

*edit*

Wrong, doesn't look good...

try something like:

Code: [Select]
unit SwitchMove "CrouchToCrouchsprintF"
...


Title: Re:I need ya again Blanco! LOL
Post by: Chris Death on 07 Aug 2005, 11:40:49
Is there a chance of changing the thread's title into
somewhat where ppl know what it's about?
Actually it looks like a case for private messages.
Mods don't like this due to a reasonable explanation.  ;)

~S~ CD
Title: Re:I need ya again Blanco! LOL
Post by: macguba on 07 Aug 2005, 12:42:31
Hmmm, yes.

Anybody could have answered this question so there is no real harm in it being public.    However, cirkut5732, if you really did just want to talk to Blanco then an IM would have been more appropriate.

Moderators don't edit post titles and at present there are no plans for them to do so.    However Chris Death is absolutely right, titles should be helpful and summarise the question so that everybody knows what the thread is about.
Title: Re:End a switchmove animation
Post by: cirkut5732 on 07 Aug 2005, 21:52:30
Sorry guys!
Didnt think it would be a problem, but your right I shoulda just IM'd blanco, But he he helps me so much I dont want him to think Im stalking him HA HA!!!!
Anyways I fixed what the subject reads!
Sorry again Macguba!
Title: Re:End a switchmove animation
Post by: macguba on 07 Aug 2005, 22:47:01
 :)