I'm trying to make an item that changes the stat of the user of the item via a script call using a common event. Unfortunately, the script call can only be applied to a set actor ID.
What I am looking for is either a script call or script itself that allows the game to check what actor ID is using the item, and from there set a variable to a set amount. From there, I can have the common event go to the correct script call via conditional branch.
For example, lets say I have 3 characters, Merric, True, and Diana. If True uses the bread item, it would set variable X to 1. From there the common event would go...
IF variable X=0
-script call-
else
IF variable X=1
-true's version of script call-
else
yada yada yada...
Could someone help me figure out how to go about this?
What I am looking for is either a script call or script itself that allows the game to check what actor ID is using the item, and from there set a variable to a set amount. From there, I can have the common event go to the correct script call via conditional branch.
For example, lets say I have 3 characters, Merric, True, and Diana. If True uses the bread item, it would set variable X to 1. From there the common event would go...
IF variable X=0
-script call-
else
IF variable X=1
-true's version of script call-
else
yada yada yada...
Could someone help me figure out how to go about this?
