RPG Maker Forums

Just a simple request.


I currently have a Variable set to show a targets name in attacks but it's not exactly working how I intended. The Variable is currently labelled under 500 as "b.name" where in a Skill, it would apply the Variable to a skills formula (eg = v[500] = b.name ; a.atk * 4 - b.def * 2) and in the "Using Message" it would state such as "(User Name) attacks \v[500]!"

The problem however is that it does not initiate the name of the target correctly. It only applies the Variable "after" the damage calculation has been done, not "when" the attack is initiated.


A example of what is going wrong.

Rustin attacks 0! <- Rustin called the attack but the Variable is still set to a default value (in this it's 0).


Rustin hits Bear for 200. <- Variable only activated "after" damage calculation was applied.


Damian attacks Bear!


Damian hits Bear for 250.


Bear raises up and slams both paws on to Bear! <- Variable is clearly not working as intended here. We want to see "who" the Bear is attacking.


Bear hits Damian for 150.






Does anyone know how to "resolve" the issue? I just need some way, even a script, to say which character/enemy is attacking which "target".

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,049
Messages
1,018,547
Members
137,835
Latest member
yetisteven
Top