Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: Making a soldier sit on a chair  (Read 871 times)

0 Members and 1 Guest are viewing this topic.

Offline royalman51

  • Members
  • *
  • Hi There
Making a soldier sit on a chair
« on: 25 Jun 2005, 18:41:29 »
How can I make a soldier sit on a chair/ i already tied the switchmove "OnChair" command but that doesn't work. Neither does the switchmove "FxStandToDip" command for pushups.

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Making a soldier sit on a chair
« Reply #1 on: 25 Jun 2005, 18:49:40 »
unitname switchmove "onchair"

That should do it.

I think you need a chairX though.
Otherwise he will be sitting in midair.


Planck
I know a little about a lot, and a lot about a little.

Offline 456820

  • Contributing Member
  • **
Re:Making a soldier sit on a chair
« Reply #2 on: 25 Jun 2005, 20:35:00 »
also some anims cant be played from init fields/scripts or waypoints so you have to play around to get the right way to activate it also you need to set the behaviour to safe i think