In XP is it possible for an event to take place only once the char has lost a certain percentage of their health?
I think it might be done through variables, yet I am unsure of how to make this happen
any ideas?
yes.
Control varaibles = actor HP
Control varibles = Actor MAXhp
now lets say when 80% of the health is full.
Control varibles * 80 (multiply) (this is for MAx hp)
Control varibles /100 (divide) (this is also for max hp)
now condtional branch. Actor HP less then or equal to actor maxhp.
now when any where under 80% health you will get what is set up in the condtional branch
Thnx for that It helped a lot
BTW anyone know the percentage of when the char's health goes yellow in battle?
It should be 50%
eh i'm not sure on that problem so sorry I won't have the answer.
but 50% might be correct I guess, half health.
anyways is your question Solved? Add [RESOLVED] to topic title
It's 25%
=x zeriab has spoken.
/me points the event's he wrote....
zeriab taught me. =D
If you are unsure and not comfortable with looking in the scripts you can conclude this from the event I have attached.
Just change how many percent HP should be removed by changing the variable Percent.
Thanx for all your help guys
This is what I have
However to make it work in battle I have to have it in each of the troop selections
I was wondering if there was a way just to put it into the common events but still have it register during the battle sequence.
(Hopefully this should be the last in this topic ;) )
that would have to be ascript and I sorta see what your trying to do...take a look at this:
http://rmrk.net/index.php/topic,14548.0.html
You can copy what you have into a common event.
Then use the Call Common Event... - 1 page, left column, number 3 from bottom.
Select the common event you pasted it into.
You would still have to do it for each troop, but it is at least only 1 line.
I suggest that you the Condition to a switch instead of 99% or less hp.
That way you can turn the option on and off by changing a switch. You can also have the event happen with full actor HP in case you wanted it.
I know this is not what you asked for, but parallel common events do not run during battles.
No, that works great thanx
However I've noticed that the condition doesn't leave until the next turn though, like this:
Turn1: Hit, underHp for limit break to activate
(command) No limit break
Turn2: defend/attack, limit break condition initiates
(command) limit break option
Turn3: Heal, limit break cond cancelled but still registers
(command) limit break option still avilable
Turn4: limit break command = wasted turn, limit break cond vanishes
Is there a way to fix this without scripting?
I did try the moment option but that just paused the entire battle and no action could be taken.
I am afraid you will have to script your way out of that problem.
I know of no way to fix it eventing. Sorry
np
thnx for all your help