I have a script that assigns the image of events based on an interaction. However, once I have the image transferred to the event, I want to be able to examine the image with another script and get the value of the image used by the event.
Basically, I'm able to go forwards (value -> image -> event), and now I want to be able to go backwards (event -> image -> value).
I think there should be a script that looks something along these lines, but I don't know what it is:
Where SomeFunction would return one or both of the values used to set the event's image.
Any help is greatly appreciated!
Basically, I'm able to go forwards (value -> image -> event), and now I want to be able to go backwards (event -> image -> value).
I think there should be a script that looks something along these lines, but I don't know what it is:
Ruby:
$gameMap.event(EventID).SomeFunction
Any help is greatly appreciated!