In what way(s) can I reference TP via script calls? Because there doesn't seem to be too many ways to interact with TP via eventng (particularly conditional branches).
I want to achieve something where if a party member has 0% (or whatever number) TP, then they get inflicted with a state, else remove state.
Yes if i can remember Yanfly have a kind of script....is not is tp manager no?
Oh, I'll need a non-script solution. i.e no third-party solution.
Well Sadly without Script you cannot really modify TP...or use them for eventing...unfortunatly rpg maker vx ace have a poor control about the TP
well, you'd need a script line on the event commands: $game_actors[id].tp
HA....I forgot about this kind of code I fell so idiot now...sorry for to not be a big help...
when you use scripts, is x equals to y? is
x == y
= is for setting values
== is for checking equality
Or if you wanted to put a condition who not need to be a 0 but don't want a specific number the tp you can do this (is just if you wanted for other use)
replace the == by a $game_actor[id].tp =< 10 (Exemple) it will check a number lower of 10 and not just 10...
*Correct me engr.Shana if i have wrong :3...is just far in my head i used that...
I believe the equal sign should be the second one... <=, >=
Thanks, to the both of you.
Everything is working fine, except for just one more thing!
I need an item/skill to reduce the target's TP by x amount. How would I go about doing this?
isn't there an effect for that?
ah, it was %...
oh well, if it doesn't accept -
you can use the damage formula...
b.tp-=amount;0
though it will show a no effect message when used
It shows a "no damage was taken" message, which I don't want, but other than that everything is working and is sorted. Thanks a lot!
Mods can close this~
you can use Yanfly's anti-fail script and tag that skill...
Oh I see... then you might not be able to use it..
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.