I am using common events for battle skills.
There are two actor, #1 and #2. When an enemy uses a particular skill, a common event is called to check to see what weapons each actor has equipped and sets a variable to a certain number based on that weapon. I then get a random number and compare that to one of the variables to see whether or not to have an enemy use a second skill. This works fine.
But, I have two problems.
#1: The variable that needs to be checked is determined by which actor is being being targeted. How do I get the event to know which actor is being targeted?
#2: The second skill needs to be used by the enemy that used the first skill. How do get the event to know which enemy used the first skill and have that enemy use the second skill?
For the second issue, I believe I can make multiple copies of enemies and skills, then make sure that certain copies are always in certain positions in the troop because the force action will only allow me to select an enemy by its location in the troop. I was hoping that I am missing something and that there is an easier way. For first issue, I have no idea what to do.
There are two actor, #1 and #2. When an enemy uses a particular skill, a common event is called to check to see what weapons each actor has equipped and sets a variable to a certain number based on that weapon. I then get a random number and compare that to one of the variables to see whether or not to have an enemy use a second skill. This works fine.
But, I have two problems.
#1: The variable that needs to be checked is determined by which actor is being being targeted. How do I get the event to know which actor is being targeted?
#2: The second skill needs to be used by the enemy that used the first skill. How do get the event to know which enemy used the first skill and have that enemy use the second skill?
For the second issue, I believe I can make multiple copies of enemies and skills, then make sure that certain copies are always in certain positions in the troop because the force action will only allow me to select an enemy by its location in the troop. I was hoping that I am missing something and that there is an easier way. For first issue, I have no idea what to do.