hi ._.

Report any bugs here or ask questions here!

hi ._.

Postby zZRainZz » 23 July 2020, 19:09

How do I add "HP" to a movable? it's for a bossfight.

EDIT: Sorry, but it's my first time using VARS ;-;
Last edited by zZRainZz on 23 July 2020, 23:14, edited 1 time in total.

zZRainZz
 
Posts: 2
Joined: 11 March 2020, 10:18

Re: hi ._.

Postby LoneWolf56 » 23 July 2020, 19:45

Hello,

There's no way to give a movable HP.
However, you can use the trigger function "Call Trigger 'B' when Movable 'A' got damage" to set off a trigger whenever a movable you want gets hit.
User avatar
LoneWolf56
Usurpation Soldier [50]
 
Posts: 55
Joined: 20 December 2015, 05:07

Re: hi ._.

Postby 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.
User avatar
jeje52
Civil Security Lite [100]
 
Posts: 146
Joined: 13 April 2018, 19:52

Re: hi ._.

Postby nightmar » 5 August 2020, 04:06

How many bugs does this game have anyway? jeez
User avatar
nightmar
Usurpation Destroyer [350]
 
Posts: 393
Joined: 2 September 2017, 19:36
Location: Inside your closet or under your bed


Return to Bug Reporting, Help & Support

Who is online

Users browsing this forum: No registered users