Home   Help Search Login Register  

Author Topic: anims  (Read 584 times)

0 Members and 1 Guest are viewing this topic.

MOC_XIII

  • Guest
anims
« 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?

Offline Flauta

  • Members
  • *
  • There is no knownledge, that is no power
    • Chek mi FLog
Re:anims
« Reply #1 on: 25 Apr 2005, 03:51:01 »
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

« Last Edit: 25 Apr 2005, 03:53:12 by Flauta »

Offline Blanco

  • Former Staff
  • ****
Re:anims
« Reply #2 on: 25 Apr 2005, 03:56:42 »
Do you mean a custom aiming anim?
If so , read this (second time this week... :P)
Because a unit is not frozen with "crouchtocombat", when he's out of ammo he will reload automatically.
Search or search or search before you ask.