Jump to content
  • 0
Sign in to follow this  
Alayne

Equivalent to @load

Question

Hi guys,

 

here's my problem.

I've got a LOT of scripts which need to return player to their save point.

The problem is, I don't want to give them the load command, otherwise they'd use it instead of items I'd like them to farm and drop.

 

How can I use the load command without authorizing them to manually type it? Is there a solution?

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0
*warp "<map name>",<x>,<y>;This command will take the invoking character to the specified map, and if wanted, specified coordinates too, but these can be random.	warp "place",50,55;This would take them to X 50 Y 55 on the map called "place". If your X and Y coordinates land on an unwalkable map square, it will send the warped character to a random place. Same will happen if they are both zero:	warp "place",0,0;Notice that while warping people to coordinates 0,0 will normally get them into a random place, it's not certain to always be so. Darned if I know where this is actually coded, it might be that this happens because square 0,0 is unwalkable on all official maps. Beware if you're using custom maps.There are also three special 'map names' you can use:"Random" will warp the player randomly on the current map."Save" and "SavePoint" will warp the player back to their save point.

Especially 2 last lines.

Share this post


Link to post
Share on other sites
  • 0

Oh great!That's exactly what I was looking for. i've used "warp" script command for years and years now, without knowing this three special name exists...And as my scripts need to warp player in several places according to their active feature...

 

Perfect, I'll give it a try. Thanks a lot, Garr.

Share this post


Link to post
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.   Restore formatting

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

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