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

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.)
At a store was a taste testing booth for Swiss cookies. After mentioning I'm Swiss, the guy gifted me a bunch of samples "in the spirit of an early St Nicholas". Made my day!

Forum statistics

Threads
127,010
Messages
1,183,162
Members
166,874
Latest member
albedo092
Top