[SCRIPT] Player RE-spawn Location (Smart Logic)

White Dragon

New member
A script directly from TMNT: Shell Shocked

DOWNLOAD:
http://www.mediafire.com/download/rcnoxwsrodwi8q7/lib_respawn.zip

To use this new code:
1) Download the lib and copy all files.
2) Then in your chara.txt write
    script data/scripts/player_script.c

If you want to use an own script event, just copy in your scripts the player_script.c content.

Ps. I advice you to clearglobalvar(); at the beginning of a level with:
Code:
levelscript @script
void main() {
    clearglobalvar();
}
@end_script
 
Ps. I advice you to clearglobalvar(); at the beginning of a level with:
This sould be used with caution. Because there are cases you need the globalvar values all the time, and this will clear all the globalvars.
 
O Ilusionista said:
Ps. I advice you to clearglobalvar(); at the beginning of a level with:
This sould be used with caution. Because there are cases you need the globalvar values all the time, and this will clear all the globalvars.

sure, naturally this is only an example ^__^
 
Back
Top Bottom