The Follow Me Script
View Single Post
November 3rd, 2012 (8:38 AM).
Join Date: Dec 2007
Location: Goldenrod City, Johto
Originally Posted by
Um I don't know if you know this, but an easy way to do a follow me script is
*the start of your script*
playsong 0x *follow me or follow me alt offset* 0x0
applymovement 0x person number @movement1
applymovement 0x FF (player) @movement2
wait movement 0x person number
fadedefault(This just makes it fade to the default song of the map you're on)
*the rest of the script*
I have done this and it works, you just copy the movement data from the person the player is following, paste it, and rename the pointer to the movement data of the player.
I don't know how well it works the other way around, but it should work just the same.(Just do a script event instead of a person event and swap the player movement with the person movement in the main script) I have a working script of that if anyone wants to see it.
Sorry to inform you, but you missed the point of this thread. Here, we're trying to make a system where the player has full control over his movement, but a sprite behind him moves with him.
My other resources:
diegoisawesome's MEGA-HUGE XSE Scripting Tutorial
diegoisawesome's Miscellaneous Finds
The Ruins of Alph Puzzles
Diego's Miscellaneous Patches
GBA Intro Manager
The Secret Sauce: Triple-Layer Tiles
View Public Profile
Send a private message to diegoisawesome
Visit diegoisawesome's homepage!
Find all posts by diegoisawesome
Find threads started by diegoisawesome