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: Back to the crouching  (Read 899 times)

0 Members and 1 Guest are viewing this topic.

Spectaculas

  • Guest
Back to the crouching
« on: 03 Jun 2004, 16:27:28 »
Finally, I know how to get soldiers crouch (eg. soldier1 playmove "crouch") But the problem is soldier1 goes up after tiny crouching session. How can I get soldier1 to stay crouched.

S**t! I don't get it! Soldiers just don't stay crouched. Could someone post ready-set script to here? And how to use it. I made script but it have no use  >:(

Btw Macguba, thanks! I learned some scripting!  ;)

Offline Tomb

  • Contributing Member
  • **
  • in2 Metal? Go 2 my sig
Re:Back to the crouching
« Reply #1 on: 03 Jun 2004, 16:59:25 »


...How can I get soldier1 to stay crouched...


 :) well, an ancient trick used to go like this:

remove all his handgrenades  (bob removemagazines "handGrenade", in the INIT field).
Then force him down biting dust and set his positioning to "up", like this:

INIT field spells :

this removemagazines "HandGrenade"; this setunitPos "UP"; this setBehaviour "Stealth"

 :D this used to work - its been ages since I tried it so dont kill me if some new version of OFP
has changes this... *cough*  ::) :P ;D

Offline rhysduk

  • Former Staff
  • ****
Re:Back to the crouching
« Reply #2 on: 03 Jun 2004, 18:32:32 »
Quote
so dont kill me if some new version of OFP
has changes..

Why not?  ;D

For the man to stay crouched put this in this INIT feild

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

Here is what my result looks like ;) Sorry about lack of quality :(

Oh yeah, th eunit will stay like htis unit you tell him otherwise :)

Rhys
Reviewed Missions Board: Please Read the User's Guide before posting!

Pride and Joy 1 (HW100-T)

Spectaculas

  • Guest
Back to the crouching
« Reply #3 on: 04 Jun 2004, 17:29:22 »
Thanks guys  ;D! I needed this to my mission. If I get it finished, you can download it from here.