YesNoOk
avatar

Super Armor with Helper Removed  (Read 555 times)

Started by Doottah, November 02, 2021, 03:23:35 pm
Share this topic:
Super Armor with Helper Removed
#1  November 02, 2021, 03:23:35 pm
  • *
    • Chile
    • bastian.zenteno@live.cl
Hello, my English is not good so I am using Google Translate for this.

In my char I am occupying a Super Armor, so there are no Collision Boxes in the char. (Only in the Projectile Helper)

I wanted to Try to make a Projectile, where it can be Hit and can disappear, but when trying to do it, it sends me to Statedef 5040 and a loop is created returning the projectile to state 0
what I would like to do is that the Projectile after certain blows it is destroyed and an animation of exploration is seen. But it is impossible for me.

I will leave the Code that I am dealing with the Super Armor and the Projectile.

Spoiler, click to toggle visibilty

this goes at -2

Spoiler, click to toggle visibilty

and this is the code of the Projectil that is triggering in several statedef

Spoiler, click to toggle visibilty

the projectile itself has a blue collision box, so it sends me to state 5040, but this barely touched the projectile.

I do not know how to use the Super Armor well, it is a problem that I have been dealing with for a long time.
Re: Super Armor with Helper Removed
#2  November 03, 2021, 05:15:56 am
  • *****
  • Shame on you!
    • USA

  • Online
One thing I notice is this.
Spoiler, click to toggle visibilty
You only have 1 trigger. You will have a problem unless you want the armor to keep working forever. You need a variable to spawn the armor 1 time. Unless you plan on never removing the helper.

[State 220] ;Helper pua verde
You need a trigger to check if the helper exists. Even if
trigger1 = animelem = 11
is only 1 frame, it may spawn multiple helpers.



2 things I cant figure out is,
Which helper is the problem? 1000 or 2000??
Where is a changestate that watches for the life value??
vVv Ryuko718 Updated 10/31/22 vVv