where is the current battle turn # stored

Status
Not open for further replies.

Point08

Veteran
Veteran
Joined
Feb 10, 2015
Messages
123
Reaction score
119
First Language
English
Hopefully this hasn't been answered as I tried searching multiple ways and couldn't find it.

I'm trying to find where the current turn number, during battle, is stored, so I can access it during a function. I know there are other ways to do this (using event pages), but if at all possible, I'd like to do something like this:

if the current battle turn < some # {code}
else {code}

Unfortunately, I've thus far been unable to find how to access the current battle turn. Any help with this, would be greatly appreciated!
 

Trihan

Speedy Scripter
Veteran
Joined
Apr 12, 2012
Messages
2,604
Reaction score
1,959
First Language
English
Primarily Uses
RMMV
$gameTroop.turnCount()
 

Point08

Veteran
Veteran
Joined
Feb 10, 2015
Messages
123
Reaction score
119
First Language
English
Thank you! That's what I needed!
 
Status
Not open for further replies.

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

Latest Threads

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,859
Messages
1,017,030
Members
137,566
Latest member
Fl0shVS
Top