Warping as a choice
I have been wondering if it is possible say, to talk to someone and have them warp you somewhere as a choice. Any ideas?
: I have been wondering if it is possible say, to talk to someone and have them warp you somewhere as a choice. Any ideas?
Yes, you can do that.
An example would be the teleporters that take you between the Edge of the World and the Darklands in the original Dink Smallwood. See the source file called "S6-warp.c" for the script. The only really important part is:
//----------------------------
script_attach(1000);
fade_down();
&player_map = 154;
sp_> 1, 329);
sp_y(1, 279);
load_screen(154);
draw_screen();
freeze(1);
fade_up();
wait(1000);
unfreeze(1);
//----------------------------
You can also let the player choose from multiple destinations by using the choice and if(&result=?) system used in "s6-warp.c".
Yes, you can do that.
An example would be the teleporters that take you between the Edge of the World and the Darklands in the original Dink Smallwood. See the source file called "S6-warp.c" for the script. The only really important part is:
//----------------------------
script_attach(1000);
fade_down();
&player_map = 154;
sp_> 1, 329);
sp_y(1, 279);
load_screen(154);
draw_screen();
freeze(1);
fade_up();
wait(1000);
unfreeze(1);
//----------------------------
You can also let the player choose from multiple destinations by using the choice and if(&result=?) system used in "s6-warp.c".
: : I have been wondering if it is possible say, to talk to someone and have them warp you somewhere as a choice. Any ideas?
: Yes, you can do that.
: An example would be the teleporters that take you between the Edge of the World and the Darklands in the original Dink Smallwood. See the source file called "S6-warp.c" for the script. The only really important part is:
: //----------------------------
: script_attach(1000);
: fade_down();
: &player_map = 154;
: sp_> 1, 329);
: sp_y(1, 279);
: load_screen(154);
: draw_screen();
: freeze(1);
: fade_up();
: wait(1000);
: unfreeze(1);
: //----------------------------
: You can also let the player choose from multiple destinations by using the choice and if(&result=?) system used in "s6-warp.c".
Since you're new, lat me point out that that angry face should be X So the like really reads:
sp_X 1, 329);
Also this is one problem with warping this way, if you warp onto a screen with monsters and kill them, they never come back. So avoid it if you can.
: Yes, you can do that.
: An example would be the teleporters that take you between the Edge of the World and the Darklands in the original Dink Smallwood. See the source file called "S6-warp.c" for the script. The only really important part is:
: //----------------------------
: script_attach(1000);
: fade_down();
: &player_map = 154;
: sp_> 1, 329);
: sp_y(1, 279);
: load_screen(154);
: draw_screen();
: freeze(1);
: fade_up();
: wait(1000);
: unfreeze(1);
: //----------------------------
: You can also let the player choose from multiple destinations by using the choice and if(&result=?) system used in "s6-warp.c".
Since you're new, lat me point out that that angry face should be X So the like really reads:
sp_X 1, 329);
Also this is one problem with warping this way, if you warp onto a screen with monsters and kill them, they never come back. So avoid it if you can.