Brellelasouls

Geister
Member
Joined
Aug 3, 2016
Messages
24
Reaction score
27
First Language
English
Primarily Uses
RMMV
Hey so I had an idea for a skill that if you go first when using it then it has a chance to paralyze the enemy.

I am pretty I can do this using Custom Parameters Lunatic mode of Yanfly's Plugin Equip Core and the conditional branch script call. But is there a script call for turn counts? Or am I wrong and it requires one of their other plugins?
 

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
44,966
Reaction score
16,019
First Language
English
Primarily Uses
RMMV
$gameTroop.turnCount()

Although I suspect that's "turn" as in all party members and all enemies have had their turn, rather than the order actors and enemies attack in a single turn, which sounds like what you're really after.
 
Last edited:

Brellelasouls

Geister
Member
Joined
Aug 3, 2016
Messages
24
Reaction score
27
First Language
English
Primarily Uses
RMMV
$gameTroop.turnCount()

Although I suspect that's "turn" as in all party members and all enemies have had their turn, rather than the order actors and enemies attack in a single turn, which sounds like what you're really after.
I think with this script call I can work with it if I check to see if it's the user's turn as well. Thank you so much, you're a life saver. Where would I find a way to look up any script calls I need in the future, RPG_Core.js?
 

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
44,966
Reaction score
16,019
First Language
English
Primarily Uses
RMMV
For that, I just did a global search for turncount, on the hunch that it might be a function name. I was lucky. This (and a lot of other functions I look up) are in rpg_objects.js
 

Latest Threads

Latest Posts

Latest Profile Posts

Don't you hate when you're trying to sleep and suddenly the smoke detector needs batteries? That's exactly what happened to me. Now I'm sluggish and tired after that darn thing started chirping at 11:30 at night. Man I wish I had one of those smart smoke detectors that sends a message to your phone way before it starts chirping.
Interior of a bus, may do more vehicle interiors :kaoswt2:
1670089782219.png
I can hardly believe it is the third day of Christmas and I have yet to put up decorations! Spending my morning cooking breakfast and getting them up.
https://itch.io/s/83641/1-week-sale Do you want a Roguelike game like a turn-based Hades? Get Zodiac Hunters now while it's on sale!
2-0!!
1670083194124.png

Sorry to my fellow RPG maker users who are in the USA... We're kicking your butts! :)
(It's 2-0 at half time in the 8th finals of the WC Soccer. Loser goes home.)

Forum statistics

Threads
127,011
Messages
1,183,167
Members
166,874
Latest member
albedo092
Top