I'm using srdude's HUD maker and you're able to set it so that HUD elements only appear if the condition is met. How can I make the condition be whether a certain actor is in the party or not?
How to check if an actor is in the party?
RPG Maker MV SupportAre you asking about a conditional check in an ordinary event, or a special one within the plugin itself?
An ordinary one - Tab 2 of the Conditional Branch command: Is Actor X in the party.
A specialised one - this will need to be moved to Plugin Support by a Mod, and you will need to edit your first post to include a link to the plugin.
Please clarify what your query involves.
Thanks.
An ordinary one - Tab 2 of the Conditional Branch command: Is Actor X in the party.
A specialised one - this will need to be moved to Plugin Support by a Mod, and you will need to edit your first post to include a link to the plugin.
Please clarify what your query involves.
Thanks.
It is a script call.
You could also do this:
$gameParty.members().contains($gameActors.actor(#))
where # is the id of the actor with no leading zerosYou could also do this:
$gameActors.actor(#).index() >= 0
this is exactly what I was looking for. Thanks!
Thread closed IgnoreMe
Original thread: https://forums.rpgmakerweb.com/threads/how-to-check-if-an-actor-is-in-the-party.82950/