PDA

View Full Version : A Very Wierd Marine


U-238
03-02-2006, 4:52 PM
Okay, in the next part of my epic saga in making the marine randomly shoot grenades I've fixed the problem where he shoots fine at ground but vvveeeerrrrryyyyyy sssllllooooowwwwwwlllllllyyyyyyyy at air targets. But not without side effects. Now the marine, when he's done attacking, will get stuck in a walking animation. He'll look like he's walking but he's not moveing anywhere and when you click on him and tell him to move somewhere he doesn't responed. So does anybody got any ideas on whats going on?

U-238

SuiCidAl-KiSmEt
03-02-2006, 8:49 PM
That happens to me sometimes. You probolly gave it a bad attacktoidle animation. Under "MarineGndAttkToIdle" put this back in again.

playfram 0x11 # frame set 1
wait 1
playfram 0x00 # frame set 0
wait 1
goto MarineOther

(MarineOther:
playfram 0x44 # frame set 4
local04:
waitrand 63 75
__1e_condjmp 25 local00
__1e_condjmp 128 local03
goto local04)

If that doesn't help, would you mind posting some of your code?

DemonicArchon
03-03-2006, 9:36 PM
My guess is the cooldown is rly long for air wepon, or you put a bunch of wait commands or a big number for wait _ ticks.

U-238
03-06-2006, 12:22 PM
Nvm. I got it... ...And a whole lot more.:D :D :D