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: Kneeling troops  (Read 657 times)

0 Members and 1 Guest are viewing this topic.

Raven

  • Guest
Kneeling troops
« on: 11 Oct 2003, 17:10:06 »
Hi Guys

A small problem, is there a way to get a unit to kneel down, stay in that postion and still use his weapon, everytime i try, he kneels and gets stright back up again.

Offline rhysduk

  • Former Staff
  • ****
Re:Kneeling troops
« Reply #1 on: 11 Oct 2003, 21:01:44 »
Raven,

Here is the code to make units kneel... just pop it all in teh Init feild of the uniy...

this setBehaviour "combat";this setUnitPos "up";this switchMove "combattocrouch"

I know it works.. if it doesnt let me know ;D

Rhys

Thanks to IWESSHOME for the above syntax ! Submitted to me a while back.
Reviewed Missions Board: Please Read the User's Guide before posting!

Pride and Joy 1 (HW100-T)

Raven

  • Guest
Re:Kneeling troops
« Reply #2 on: 12 Oct 2003, 10:08:20 »
Cheers Rhysduk, it worked a treat.

Thats why I love being part of this forum, always someone out there who knows an answer.
 ;D ;D ;D ;D