Check for currently active Actor?

willer111

Hero
Member
Joined
Jul 24, 2014
Messages
24
Reaction score
2
First Language
English
Primarily Uses
Hey, I was just wondering if it was possible to check which Actor the player IS controlling?
I have an item that launches a Common Event, and I want that common event to have a conditional branch which will return true if the Player is CONTROLLING a special Actor.
If the actor is in party, but not the 1st, it will return false.

Any suggestions?
 

Tsukihime

Veteran
Veteran
Joined
Jun 30, 2012
Messages
8,564
Reaction score
3,846
First Language
English
What does it mean for an actor to be "controlled"?

It is the party leader?

Code:
$game_party.leader.id = 2
Checks if actor 2 is the leader.
 
Last edited by a moderator:

willer111

Hero
Member
Joined
Jul 24, 2014
Messages
24
Reaction score
2
First Language
English
Primarily Uses
What does it mean for an actor to be "controlled"?

It is the party leader?

$game_party.leader.id = 2Checks if actor 2 is the leader.
Thanks :D

Yeah, I don't know why "Party Leader" went past me xD
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,676
First Language
German
Primarily Uses
RMMV
Tsukihime made a type, the check needs a double ==, not a single =.
 

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

Latest Threads

Latest Profile Posts

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
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

Forum statistics

Threads
105,868
Messages
1,017,072
Members
137,578
Latest member
JamesLightning
Top