Script call for actor state rate value

Status
Not open for further replies.

Kilitar

Veteran
Veteran
Joined
Jul 28, 2015
Messages
141
Reaction score
41
First Language
czech
Primarily Uses
RMMV
Hello,
Anyone know the way for script call for read state rate (based on total state rate) of an actor?
I mean something like:

var value;
value = $gameActors.actor(actorId).State(stateId).rate();

Thanx for help.
 

Kes

Global Moderators
Global Mod
Joined
Aug 3, 2012
Messages
21,611
Reaction score
10,924
First Language
English
Primarily Uses
RMVXA
Product Discussion and Support is for queries around store packs etc. "How do I...?" questions go in the support forum for the engine you are using. That looks like a JavaScript script call, so...

I've moved this thread to RPGMaker MV. Please be sure to post your threads in the correct forum next time. Thank you.

 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
38,479
Reaction score
12,024
First Language
English
Primarily Uses
RMMV
$gameActors.actor(id).stateRate(stateId);
 

Kilitar

Veteran
Veteran
Joined
Jul 28, 2015
Messages
141
Reaction score
41
First Language
czech
Primarily Uses
RMMV
Sorry for posting in bad part of forum, I am still bit confused by new layout :). (most of my forum stored links are dead now because of migration :( )
And Thank you Shaz for help.

I would mark topic as solved / or close it - but dunno found a way how :p
 

Kes

Global Moderators
Global Mod
Joined
Aug 3, 2012
Messages
21,611
Reaction score
10,924
First Language
English
Primarily Uses
RMVXA
@Kilitar You can do it in the same way as before - Report your opening post and ask for it to be closed. Mods might not see a post but we will see a Report.

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

 
Status
Not open for further replies.

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

Latest Threads

Latest Profile Posts

putting a puzzle in my game that BSODs the player's computer if they complete it
I finally got a book out the door after seven years of nothing \^-^/ Now if I can get a game out the door too, that'd be great...
MY GAME IS NOW OFFICIALLY RELEASED!!
*FurAffinity is down*
*Sets house on fire*
This is fine.

Forum statistics

Threads
94,362
Messages
920,253
Members
124,124
Latest member
etiennasse
Top