YesNoOk
avatar

Helper does not spawn (Read 820 times)

Started by WastedCoder, October 09, 2021, 06:45:33 pm
Share this topic:
Helper does not spawn
#1  October 09, 2021, 06:45:33 pm
  • **
    • Ukraine
Hey, guys! Can you please tell me what is wrong with this code?
This is a special, but state 60000 does not spawn helper 60001.
I checked the numbers dozens of times. They all match, but I still can't see a helper.
There are literally zero helper on the screen when I try to activate it.
I tried changing numbers and all, but it still won't go further 60000 state.
I even put "poweradd = -700" into 60001 statedef and IT DID TAKE POWER.
But still there is no animation and hitbox, though I made sure they exist.
Chars animation is long enough, it lasts 49 ticks. Idk what to think.
.cmd is also fine, because it activates the state 60000.
All of the states and animations featured here do exist and their numbers match.
Debug says nothing btw. No info appears there it is clean.


CMD code:
Spoiler, click to toggle visibilty

Main code
Spoiler, click to toggle visibilty
Re: Helper does not spawn
#2  October 09, 2021, 08:33:22 pm
  • **
    • Ukraine
I found the mistake. LoL
[State 0, DestroySelf]
type = DestroySelf
trigger1 = root,stateno != 420
here, it was a root of a problem XD