Random Skill use after an action?

Protagonist7

Veteran
Veteran
Joined
Sep 14, 2015
Messages
85
Reaction score
9
First Language
English
Primarily Uses
So I'm making a class in my game based around summoning. My plan is to have it so that a character can cast a "summoning" spell that basically puts a state on them. In this state, they can still move and do attacks, but after their move they'll also do another skill as well depending on what they summoned (essentially, this represents their familiar attacking). Is anyone aware of how to do this?

I'm thinking the other attack might also be randomly selected from a list of skills.
 

Vox Novus

Knight of Whispers
Veteran
Joined
Mar 18, 2013
Messages
3,293
Reaction score
2,473
First Language
English
Primarily Uses
N/A
You can use common events which are called from skills and the force action command. In the common event run a conditional branch that checks for whether that state is applied; if it is use the force action command and the skill you want the character to use.


You can make randomness occur by using a randomly controlled variable and check for branching outcomes based on the variable's value.


A plug-in might simplify this process granted; but I'm personally one for doing things you can do like that yourself.
 
Last edited by a moderator:

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,051
Messages
1,018,549
Members
137,837
Latest member
Dabi
Top