Jump to content
  • 0
Pneuma

Recall Map Item

Question

*mapwarp "<from map>","<to map>",<x>,<y>;
This command will collect all characters located on the From map and warp them
wholesale to the same point on the To map, or randomly distribute them there if
the coordinates are zero. "Random" is understood as a special To map name and
will mean randomly shuffling everyone on the same map.

I would like to beable to use this command in a Continuous item(Item Type 11) and the item act like:

Uses Item > dispbottom message shows "Input Map to Recall From" : Input Box Shows up > Gets your current location(map,x,y cords) and warps everyone from that map to your spot

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

Link to comment
Share on other sites

script {

mes "Type the map name from which players will be warped.";

next;

input [email protected]$;

mes "Now, type the map name to which players will be warped.";

next;

input [email protected]$;

mapwarp [email protected]$,[email protected]$,100,50;

close;

end;

}

Do one of two things, make the above into a function, or be lazy (and messy) and just place it in the script field for an item. Untested, but should work.

Link to comment
Share on other sites

Jtynne, I dont want it to have input for both; I want it to automatically warp everyone from the map you input to your current location; Also like I asked, dispbottom, not message

Edited by Pneuma
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.