Quote:
Originally Posted by ASDBUDDY
Hi,so I had placed a gaurd at the end of a map who lets you pass after completing a task but after doing that when enter the map back the person event returns to its og postition and as the flag is set it doesn't move again how do i change the person event's pos so that it stays out of the way even after i enter the map again.
|
Are you saying that the NPC is at location 1, you make a script that makes them move to location 2 in the map, but once you exit the map and return they're still at location 1?
For that you have to create a level script (which hopefully you know how to do, diegoeisawesome's XSE level script guide tells you how to make level scripts step-by-step).
The script will essentially look like this:
This'll make it so once you set the flag in your original script, the level script will be active and manually move the NPC to location2 every time you enter the map as you enter the map. And rather than the Level Script Type being 0x2 like it is in diegoisawesome's tutorial, since you're only moving NPC's around and not making people talk or anything, you use 0x5.
__________________
Being a hero is overrated anyways