Simple Tp check in RPG Maker Vx Ace

Powell

Veteran
Veteran
Joined
Mar 19, 2018
Messages
61
Reaction score
2
First Language
English
Primarily Uses
N/A
I am trying to have a check to see if a character has 0 Tp or greater or less then x amount via a conditional branch but I can't seem to find a command to check that
 

Isabella Ava

Veteran
Veteran
Joined
Sep 13, 2016
Messages
635
Reaction score
756
First Language
English
I am trying to have a check to see if a character has 0 Tp or greater or less then x amount via a conditional branch but I can't seem to find a command to check that
$game_party.members[0].tp >= 0
 

Rinobi

Veteran
Veteran
Joined
Mar 24, 2014
Messages
579
Reaction score
219
First Language
English
Primarily Uses
RMVXA
There is no such command, you'll have to use the script command on the fourth tab of the conditional branch to check TP. Here's a few script calls:
$game_actors[1].tp == 0 # Is equal to 0?
$game_actors[1].tp > 0 # Is greater than 0?
$game_actors[1].tp >= 0 # Is greater than or equal to 0?
$game_actors[1].tp <= 0 # Is less than or equal to 0?
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

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