Home   Help Search Login Register  

Author Topic: I'm gonna explode!!  (Read 341 times)

0 Members and 1 Guest are viewing this topic.

SFG

  • Guest
I'm gonna explode!!
« on: 16 Feb 2003, 03:21:03 »
Ok... i got the player going to a gamelogic... then a cutscene starts..  The problem is... i cant get him to crouch and stay that way. Yes i've searched and none of it works. This is what i got in the trigger that activates the gamelogic.

ap setpos getpos appos;ap switchmove "crouch";ap setDir 320; ap setBehaviour "combat";ap setUnitPos "UP";ap removemagazines "handgrenade"

But he keeps getting back up. Rarrghh!!!

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:I'm gonna explode!!
« Reply #1 on: 16 Feb 2003, 03:27:02 »
u have 2 loop da switchmove "crouch" (i think)

try usin dat script

_unit = _this select 0

#loop
_unit switchmove "crouch"
~0.1
? endcrouch : exit
goto "loop"

exec

[unitname] exec "scriptname.sqs"

and put endcrouch=true 2 end da loop  ;D

:cheers:

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

SFG

  • Guest
Re:I'm gonna explode!!
« Reply #2 on: 16 Feb 2003, 03:32:17 »
Thanks LCD that worked :) I knew you were gonna be the first to respond. :P