Quote from: JamesTerrano on February 27, 2014, 08:12:08 pm
Well, let's say that I have set the variables. What else I have to do?
I can put together a tutorial for you. Give me a few minutes and I'll see what I can do.
EDIT: Okay, here we go! (Actually, winkio did most of the work; my mediocre scripting experience only got me so far. But we got it!)
1. Install Blizz's
Lagless Pathfinder Script2. For each zombie, you'll need to make an event page like this:
Make sure that it is set to parallel process. Also, the second conditional branch is cut off in the image. It should be:
$game_map.events[@event_id].has_path_target?
Finally, to change the button used for the whistle, set it as the condition for the first line. (I used the RMXP default "X" button here, which is actually the "A" key on the keyboard by default.)
I hope that helps! I can upload a demo if you need me to do so.
EDIT 2: I decided to just go ahead and put together a demo.
Here you go! It's really just a modified version of Blizz's demo. Press A on the keyboard to whistle and make the guy come running to the location at which you whistled.