Lorthales

Warper
Member
Joined
Sep 6, 2019
Messages
1
Reaction score
0
First Language
English
Primarily Uses
RMMV
Sorry if I am posting this in the wrong area. I am new to using forums. So what I am trying to do it make a skill for a ranged attack. The scope will be up to 6 spaces in a circle. Once a target is selected I want the distance between actor and target to be saved as a variable. Then my damage formula to decide if it can hit 2/3/4/5 or 6 spaces away. If the formula says I can hit 5 spaces and the target is 4 spaces then it hits. But if it says I can hit up to 2 spaces then it misses. So basically, I need a way for the skill to determine how many spaces away the target is and turn that into a variable. Thank you so much for any help!
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,333
Reaction score
11,758
First Language
English
Primarily Uses
RMVXA
'General Discussion' is for looking at broad themes that affect the making of games in general. "How do I...?" (implementation) questions go in the Support forum for the engine you are using.

[move]RPG Maker MV[/move]
 

Latest Threads

Latest Posts

Latest Profile Posts

When there's a will, there's a lifehack. :ninja:

Before i mess with battle UI further, does it look decent enough? :hswt:
Free MZ? That's good. I should go try it out then.
Let's see if I can make it in time xD
Knipsel.PNG

Forum statistics

Threads
112,523
Messages
1,068,903
Members
146,201
Latest member
squirrelears
Top