Hey all. I'm doing an event-based battle system and self-variables would be a life saver.
I'm trying to something like Variable ID = @event_id (In Event, making "Control Variable... #002" equal script "$gameMap.events[this._eventId]"). Image example below.
[IMG]http://s11.postimg.org/laxei29qr/attemptthing.png[/IMG]
I finally got it to run, but it's making said variable (in this case event id is 5) become 0.
Not sure if a self-variable type script is needed or if I could event this. Any help/insight would be much appreciated.
By the way, saw the variable become 0 as I am using OrangeHud by Hudell that demonstrates variable as a HUD.
I'm trying to something like Variable ID = @event_id (In Event, making "Control Variable... #002" equal script "$gameMap.events[this._eventId]"). Image example below.
[IMG]http://s11.postimg.org/laxei29qr/attemptthing.png[/IMG]
I finally got it to run, but it's making said variable (in this case event id is 5) become 0.
Not sure if a self-variable type script is needed or if I could event this. Any help/insight would be much appreciated.
By the way, saw the variable become 0 as I am using OrangeHud by Hudell that demonstrates variable as a HUD.