Heya! I've been thinking a lot lately about my game The Missing Part and i thought:
"I realy realy realy hate random encounters, they are so freaking ANNOYING!"But then i thought:
"If i make it so that enemies walks the map instead and when you touch them you get to battle them?"This will be a big step in my game and the script that i need will make it like this:
When you move within a
specified number of frames of an event(let's say, an events 6x and 6y) the event will, from the movement course i set up, change to speed to
Faster(5) and the frequency to
Fastest(6) and the course will be set to
follow so that when it touches the player, the event commands i put will take place. If the player manages to move out of the 5 frame range of the event the movement options will be changed back to as it first was.
The only thing that strikes my mind is, how do i make an event into this perticular kind of event? Maybe put a command in the start of the event? Maybe i can even add my own preferences in the event itself by adding comments like:
Speed 5 Frequency 6Frames 6 (The number of frames to move within for the enemy to start chasing you)
Maybe even put a parallel animation on it if it's possible
(was thinking a "!" sign that signifies that it has noticed the player)? So the command would look something like this:
Speed 5Frequency 6Frames 6 (The number of frames to move within for the enemy to start chasing you)
Animation [ID] or
Animation [false] (for no animation)
I am not sure how this will be possible as i am no scripter and i don't know if this requires a big script. This is how i imagined it to work, it doesn't necessarily have to be exactly like this one.
I am not expecting this to be made in just a week, but if you could find it in your heart to tell me if this is even possible to begin with so i don't have to wait in vain