So, I want to create 2 conditions in the battle where, the first condition is that a character with actor number 11 or class 11 cannot use items for himself but can use for all party members.
Next,The second is conditions for all parties that they can't give items to characters with actor number 11 or class 11. After I search there is a plugin called YEP_X_SelectionControl. But I'm quite confused how to use it. Is the code in my notetags correct?
<Custom Select Condition>
if ($gameActor.actor(actorId)._classId === 11)
{
Not User = true;
}
else
{
condition = false;
}
</Custom Select Condition>
Next,The second is conditions for all parties that they can't give items to characters with actor number 11 or class 11. After I search there is a plugin called YEP_X_SelectionControl. But I'm quite confused how to use it. Is the code in my notetags correct?
<Custom Select Condition>
if ($gameActor.actor(actorId)._classId === 11)
{
Not User = true;
}
else
{
condition = false;
}
</Custom Select Condition>