- Joined
- Dec 8, 2012
- Messages
- 64
- Reaction score
- 14
- First Language
- Swedish
- Primarily Uses
Hi.
I've been playing around a little with Yanfly's Event Chase Script (https://raw.githubusercontent.com/Archeia/YEARepo/master/Field/Event_Chase_Player.rb) and I have 2 concerns that I hope someone might help me with.
The first is that I can't seem to get the alert_sound to work. I think I've tried everything, making a new project with only the yanfly script, adding "" or '', but nothing seems to help. If I have @alert_sound = Blow1, the game crashes (Game_Character, Line 180) and I think that is how you are suppose to write it, but I couldn't even find help elsewhere, so it seems like I'm the only one with this problem(?)
This is how I've made the chasing event, if it helps.

The second part is a bit trickier. Is it possible to add to the script so that a self-switch activates/deactives when the event sees/loses sight of the player? This is more of an optional thing, but it would help a lot, cause then I could event the chaser to walk back to it's original position and possibly other things.
Thanks for reading.
I've been playing around a little with Yanfly's Event Chase Script (https://raw.githubusercontent.com/Archeia/YEARepo/master/Field/Event_Chase_Player.rb) and I have 2 concerns that I hope someone might help me with.
The first is that I can't seem to get the alert_sound to work. I think I've tried everything, making a new project with only the yanfly script, adding "" or '', but nothing seems to help. If I have @alert_sound = Blow1, the game crashes (Game_Character, Line 180) and I think that is how you are suppose to write it, but I couldn't even find help elsewhere, so it seems like I'm the only one with this problem(?)
This is how I've made the chasing event, if it helps.

The second part is a bit trickier. Is it possible to add to the script so that a self-switch activates/deactives when the event sees/loses sight of the player? This is more of an optional thing, but it would help a lot, cause then I could event the chaser to walk back to it's original position and possibly other things.
Thanks for reading.
