Hey all! I can't believe I'm actually making a script request o.o I could probably write this myself, but I have almost no time with the contest.
What I'm looking for is to display an arrow next to the player pointing (in terms of up, down, left, or right) in the direction of an event on the map. The specific event that it points to on each map should be definable in a config based on a system variable. The arrow should only display for a few brief moment after the player presses a specific button (I'm planning on it being the Z key)
For example, if story progress is set to 1 and we're in the main hall, the arrow would point towards the event that transports the player downstairs. If story progress is set to 2, it should point towards the event that transports the player to his bedroom.
I'd like the configuration to be something like
when mapID
return { [storyValue1, storyValue2] => eventID, [storyValue3] =>eventID }
(where each story value is a value of the system variable that will cause the arrow to point towards that specific event on that map)
There should also be a system switch or a script call that disables the arrow for when the player doesn't have a defined destination. When it's disabled, or there is no event for the current map/variable combination, it should play a buzzer sound effect rather than showing an arrow.
Here's some screenshots mocking up the idea:
(http://i58.tinypic.com/33398wp.png)
(http://i60.tinypic.com/2w3yibs.png)
(http://i58.tinypic.com/r0b14o.png)
(http://i61.tinypic.com/2h4gy8i.png)
(http://i58.tinypic.com/2it5s93.png)
Thanks for reading through this! If you can make this, I'd REALLY appreciate it, but I'll understand if no one has time. I've just always had trouble finding my way around in games, and I love when you can press a button to get directions.
This should help you. Took me a bit to dig it up, but I remember Fantasist had already made this. It's not fully automatic like you want it, but he set it up so all you had to do was use a script call and point towards a new event.
http://forum.chaos-project.com/index.php/topic,2602.0.html
EDIT: More specificaly, this post.
http://forum.chaos-project.com/index.php/topic,2602.msg53077.html#msg53077
Sweet! Thanks gameus. With just a little bit of work on my part, I can just add a function to game_System that will call his code with the proper event :D