Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Help with events for my boss battle

hey people, I'm making a boss battle but I have no clue how to make the events, I have a skill that my character uses, it's called "taunt" it's useful to beat the monster because it gives the enemy the state "angry", and I don't know how to make it so if the character uses that skill the enemy gets angry, and gets less accurate and has a 25% chance of missing the character and hitting the wall causing a minor avalanche, then if you use it again, he gets the state "rage" then has a 50% chance of missing the character and hitting the wall. For now that's all I'm having trouble with. Thanks in advance.
 
Hrmm... Looks like you'll have to attach a common event to the skill.

1) Have a switch turn on in the first turn of combat. This'll show that this is the fight you need stuff to happen in. I'll call this switch 1.

2) In the common event that the skill uses have "Conditional Brach: If Switch is On," And then turn on two other switchs on (switch 2 and switch 3, let's say)

3) Back on the troops tab, have an event that occurs every turn if Switch 2 is on. Have a random variable that gets a random number between 1 and 4. If it's the number 1, have the wall falling down event. Don't forget to turn off switch 2!

4) In the common event, have a conditional branch if switch 3 is on, the enemy changes state to "Rage" and turns on switch 4.

5) Back in the troops tab again, have another event that occurs every turn if Switch 4 is on. Do the same for number 3, but have a variable between 1 and 2.

Hope this makes things clearer
 
Well, yeah. Go to the battle event, then at the top where it says "Condition" click there and tick the box "Turn". The first box indicates when the event will first occur, and the second is how many after that.

For example, if I have an event that Occuts on events 5+3X (That's the syntax it comes up in) it means that the event will occur first on the 5th turn, then every 3 events after that. So it will occur on turns 5, 8, 11, 14, 17 etc...

So, you want to turn on your battle identifying switch on turn 0+0X, the 0th turn (Before the battle starts that is, before anybody has a turn).

Then you want the other events to take place 0+1X IF the switch is on. You can see the box there to run if a switch is on.

I hope that makes things easier for you to understand...
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top