The Dink Network

Reply to Re: Scripted warps?

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
April 17th 2005, 04:37 PM
custom_magicman.gif
magicman
Peasant They/Them Netherlands duck
Mmmm, pizza. 
This is a piece of code which warps dink to another map and has a fade effect.

freeze(1);

//Only when attached to a sprite
script_attach(1000);

//Fill in new map
&player_map = ###;

fade_down();
load_screen();

//Optional, set Dinks x,y and direction
sp_x(1,###);
sp_y(1,###);
sp_dir(1,#);

draw_screen();
fade_up();
unfreeze(1);
kill_this_task();