Jump to content
  • 0

Question

Posted

*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

4 answers to this question

Recommended Posts

Posted

dispbottom "Input the map players call from.";

input .@mapname$;

getmapxy .@currentmap$,.@x,.@y,0;

mapwarp .@mapname$,.@currentmap$,.@x,.@y;

end;

Posted

script {

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

next;

input .@mapnamefrom$;

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

next;

input .@mapnameto$;

mapwarp .@mapnamefrom$,.@mapnameto$,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.

Posted (edited)

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

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...