Hello all! So I'm trying to create a Golden Sun-style spell system - where you can cast a certain spell on the map to effect the environment, solve a puzzle, reveal secrets, etc, etc. Also similar to Pokemon HMs. I'm specifically trying to replicate the Frost spell from Golden Sun in this example. You need to open the menu then cast to specific spell to solve the puzzle.
I do have something working already. Unfortunately, I'm not sure how to activate a specific event with a skill. If I have multiple "Frost" events on the map, the skill will activate all of them. I know why it's happening but what's the best way to go about activating specific events? Do I need to create specific region ids for each event?
So this is my method. I have two common events - Frost and Frost duration. I surround the on-map frost event with 4 region ids. Depending on the Id the player is standing on, the player will turn to the event, "cast" the spell then the event activates. I have a parallel process checking when the player is standing on one of those ids.
Sorry for all the images and slightly complicated question. I'm just wondering if there's a more efficient method. The idea is the player can cast up to three of these frost spells (to effect the environment) but they'd have to unlock the ability to "concentrate" on more than one. Anyway, thanks everyone!
I do have something working already. Unfortunately, I'm not sure how to activate a specific event with a skill. If I have multiple "Frost" events on the map, the skill will activate all of them. I know why it's happening but what's the best way to go about activating specific events? Do I need to create specific region ids for each event?
So this is my method. I have two common events - Frost and Frost duration. I surround the on-map frost event with 4 region ids. Depending on the Id the player is standing on, the player will turn to the event, "cast" the spell then the event activates. I have a parallel process checking when the player is standing on one of those ids.
Sorry for all the images and slightly complicated question. I'm just wondering if there's a more efficient method. The idea is the player can cast up to three of these frost spells (to effect the environment) but they'd have to unlock the ability to "concentrate" on more than one. Anyway, thanks everyone!