Jump to content
  • 0

how to call a script once the character jump from the same map


Jayzy

Question


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  62
  • Reputation:   0
  • Joined:  12/08/11
  • Last Seen:  

how to call a script once the character jump from the same map. like for example CHAR-A is on prontera then the character jump in any part of prontera but still in prontera, how to call a script after the character jump from another place?

Link to comment
Share on other sites

7 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  62
  • Reputation:   0
  • Joined:  12/08/11
  • Last Seen:  

OnPCLoadMapEvent won't trigger the NPC again in the same map. I tried it that's why I post this topic. But I already fixed my script by using goto function

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  41
  • Topics Per Day:  0.01
  • Content Count:  137
  • Reputation:   1
  • Joined:  02/02/13
  • Last Seen:  

like this?...

 

warp "Random", 0, 0;
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  75
  • Topics Per Day:  0.02
  • Content Count:  2223
  • Reputation:   593
  • Joined:  10/26/11
  • Last Seen:  

OnPCLoadMapEvent only triggers when the first time they load/warp to a map.

Teleporting around on the same map will not trigger OnPCLoadMapEvent again

(I think that's what leertaste wants to do).

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  

Teleporting around on the same map will not trigger OnPCLoadMapEvent again

Teleporting around on the same map will trigger OnPCLoadMapEvent again (I test it ^_^ )

 

how to call a script after the character jump from another place

You can also use trunk/doc/whisper_sys.txt

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  

OnPCLoadMapEvent won't trigger the NPC again in the same map

O_o I tried with @load, @warp, @go, flying wing item, etc.. on the same map, my loadevent trigger each time

Well your request is solved, forget it

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  62
  • Reputation:   0
  • Joined:  12/08/11
  • Last Seen:  

Thanks :)

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...