Home > Tutorials > RPG Maker XP > Area of Effect Ability - Zelda Style Battle System (Part 2)
Area of Effect Ability - Zelda Style Battle System (Part 2) 
Now, create 16 new variables. Call them abilitycoordinateX(1) to abilitycoordinateX(8) and abilitycoordinateY(1) to abilitycoordinateY(8) - 16 in total. This will allow you to set these variables to the map coordinates all around your hero when the key "a" is pressed!
So, in the "battle" common event, create a "conditional branch." On page 4 of the conditional branch, select "button" and set it to "X" (for some reason, X = the A button).
Now, within this conditional branch, you will need to do a lot of work - you need to set all the abilitycoordinate variables.
So, under the "control variable" event command, you will need to set all the "abilitycoordinate(X)" variables to "character player's map X." Do the same with all 8 "abilitycoordinate(Y)" variables except set them to "character player's map Y" instead.
|
|
Details
|
|
Tutorial:
|
Area of Effect Ability - Zelda Style Battle System (Part 2) |
|
Date Listed:
|
Thu, 29 Mar 2012 02:38:59 -0400 |
|
Author:
|
LeviM
|
|
Total Hits:
|
1012 |
|
|