OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: MOC_XIII on 24 Apr 2005, 01:12:38
-
If a unit is in an aiming anim, he is froze and can just shoot, right?
Is there a way to quickly take him out of the anim, reload, and go back into it?
-
maybe when the magazine is emprty making him to switchmove "null"
and ? unitready loon == true : switchmove "anim"
or smotihing like that...
unitReady
Type of returned value:
Boolean
Description:
Check if unit is ready. Unit is busy when it is given some command like "move" until the command is finished.
Example:
unitReady player
not really know how to use it
-
Do you mean a custom aiming anim?
If so , read this (http://www.ofpec.com/yabbse/index.php?board=27;action=display;threadid=18098) (second time this week... :P)
Because a unit is not frozen with "crouchtocombat", when he's out of ammo he will reload automatically.