Ace of Spades
Member
So I started making a new ABS, which will be released to the public once I'm done. I just started getting into scripting, so I'm still learning a lot of the basics, so please bare with me. Anyways, here's my question.
I'm in the process of making some enemy events, and I want everything to be very user-friendly. Now if I'm making health and different stats for enemies, it's going to take up a lot of variables, and be very clumsy and unorganized unless I find a way to use some scripting. I know each event has local switches, so I was wondering if there's any possible way to make local variables, independent from each event.
For example, I know $game_map.events[@event_id].x will give you that particular event's x coordinate. My question is would there be an easy way to define something like $game_map.events[@event_id].health to bring up that enemy event's health? Something along those lines, I'm wondering if anyone could explain how. Thanks for your time.
I'm in the process of making some enemy events, and I want everything to be very user-friendly. Now if I'm making health and different stats for enemies, it's going to take up a lot of variables, and be very clumsy and unorganized unless I find a way to use some scripting. I know each event has local switches, so I was wondering if there's any possible way to make local variables, independent from each event.
For example, I know $game_map.events[@event_id].x will give you that particular event's x coordinate. My question is would there be an easy way to define something like $game_map.events[@event_id].health to bring up that enemy event's health? Something along those lines, I'm wondering if anyone could explain how. Thanks for your time.