In my enemy ABS event that I am prototyping I have had to hard code the event ID in a couple of places and I am looking to try to make this more generic now.
As an example, (and this is for EV002) I have used $gameMap.event(2).
Is there some way I can use a function to get my event ID. I tried $this but it doesn't work.
Similarly I am trying to keep a control variable to store this enemys HP. For now I have just hardcoded it to Control Variable #0002 but again I would like to base this variable on the event ID using a function/script.
Thanks for any ideas!
As an example, (and this is for EV002) I have used $gameMap.event(2).
Is there some way I can use a function to get my event ID. I tried $this but it doesn't work.
Similarly I am trying to keep a control variable to store this enemys HP. For now I have just hardcoded it to Control Variable #0002 but again I would like to base this variable on the event ID using a function/script.
Thanks for any ideas!