by jeje52 » 23 July 2020, 19:54
At the start of the bossfight or before it, set a variable to let's say 100. That will be the hp of the boss.
Set a trigger to execute every time the movable is hit, and in the trigger add -1 to the hp. Now the hp variable should decrease every time the movable is hit. There's a trigger action to subtract projectile power from the variable, but this works fine for now.
In the trigger, after you've decreased the hp, use a continue if trigger action to kill the boss if hp is less than 0.