I was plat testing my Noah game and I started a battle and the escaped then started the battle again. The first time I was in the battle I had 15 tp points the second time I had 2. Is there a way to (with events) make so that all actors start with 0 tp and the tp points from each battle are saved for the next battle and aren't random? Though if this can this be achieved with a script that would be great. thanks.
Random tp points.
RPG Maker VXAce SupportAll you have to do is add to their Features, "Preserve TP" (it's in the "Other" tab, under "Special Flag").
thanks i'll try this, and see if it works.
EDIT: I tried it and it works great thanks.
EDIT: I tried it and it works great thanks.
The above will keep the TP after battles.
If you want to make sure the player starts with 0 TP u want to change the initialized TP
On line 730 change the amount of initialized TP to 0
#-------------------------------------------------------------------------- # * Initialize TP #-------------------------------------------------------------------------- def init_tp self.tp = 0 endThis way every player will ALWAYS have 0 TP at the start of the game.
~ Dinhbat
If you want to make sure the player starts with 0 TP u want to change the initialized TP
On line 730 change the amount of initialized TP to 0
#-------------------------------------------------------------------------- # * Initialize TP #-------------------------------------------------------------------------- def init_tp self.tp = 0 endThis way every player will ALWAYS have 0 TP at the start of the game.
~ Dinhbat
Original thread: https://forums.rpgmakerweb.com/threads/random-tp-points.26274/