I'm having a problem with checking the ID of an actor against a variable. From the menu, the player selects to use an item on an actor. The item runs a Common Event.
At the start of the Common Event, the actor's id is collected into variable 15. This works properly; I can check the variable with F9 and see it updates to the correct number.
After this, I have a conditional branch that checks a script:
```
$gameActors.actor($gameVariables.value(15)) == 3
```
I've also tried it with === to the same result.
Whether the variable matches or not, it always processes as Else. What do I need to change to make it properly verify the character?
At the start of the Common Event, the actor's id is collected into variable 15. This works properly; I can check the variable with F9 and see it updates to the correct number.
After this, I have a conditional branch that checks a script:
```
$gameActors.actor($gameVariables.value(15)) == 3
```
I've also tried it with === to the same result.
Whether the variable matches or not, it always processes as Else. What do I need to change to make it properly verify the character?