OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Gooner861 on 20 Jul 2004, 22:48:04

Title: Nodding ur head
Post by: Gooner861 on 20 Jul 2004, 22:48:04
Wots the code for making a unit nodd(can't spell) its head to signal yes?, if there is a code  ;D

Cheers

Gooner
Title: Re:Nodding ur head
Post by: Artak on 20 Jul 2004, 22:57:44
If there is such it will be an animation and therefore listed in the playmove/switchmove reference here (http://www.ofpec.com/editors/resource_view.php?id=471).

It might be possible to script it with dowatch or dotarget first at somewhere hight and then at the unit's feet.
Title: Re:Nodding ur head
Post by: Dubieman on 20 Jul 2004, 23:52:30
Take two objects and don't show them in the cutscene or use invisible targets whatever...

Code: [Select]
_dummy = _this select 0
#infinity
dummy dowatch low
~0.2
dummy dowatch high
~0.2
dummy dowatch low
~0.2
dummy dowatch high
~1
?dummydone = true: goto "exit"
goto #infinity

Wouldn't that be fun?
Obviously I just had fun here, but I imagine it'd look like that... :P

And you could make the left and right version for no.
:noo: