Reply to Re: New D-Mod: Day of the Carcass
If you don't have an account, just leave the password field blank.
I've looked into the player 2 script and I notice you've used wait() commands in the attack and hit procedures. This could cause problems and I have a hunch that the one in the hit procedure may be causing the bug.
If the sprite is hit during the wait() period (I know it's small and seems ridiculous but it still happens sometimes) then that procedure would be interrupted by the hit procedure starting.
If a wait() command is absolutely necessary for something like checking to see if the hit killed the monster or updating the p2 life variable after damage has been calculated, it should be done in a spawned script so there are no interruptions.
If the sprite is hit during the wait() period (I know it's small and seems ridiculous but it still happens sometimes) then that procedure would be interrupted by the hit procedure starting.
If a wait() command is absolutely necessary for something like checking to see if the hit killed the monster or updating the p2 life variable after damage has been calculated, it should be done in a spawned script so there are no interruptions.