Jump to content
  • 0

help me with this..


Dynasty

Question


  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  151
  • Reputation:   5
  • Joined:  11/09/12
  • Last Seen:  

hi

 

im doing this

 

1493088_699656326732266_2101054759_n.jpg

 

a cutin system that will trigger everytime that the user load a cities maps... 


-	script	CutinCity	-1,{
OnPCLoadMapEvent:
	attachnpctimer;
        initnpctimer;
		end;
Ontimer10:
	cutin "prontera",1;
		end;

Ontimer10000:
	cutin "",255;
	stopnpctimer;
	detachnpctimer;
			end;
	}else{
end;
	}
}

well.. it works but no like i want, because i want that the script trigger the image every time that the user load all cities maps and that script do it only one time D;

 

plz heeelp me :'c

Edited by Dynasty
Link to comment
Share on other sites

6 answers to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

add the loadevent mapflag to all maps...

this mapflag is needed for each map to trigger the OnPCLoadMapEvent

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  151
  • Reputation:   5
  • Joined:  11/09/12
  • Last Seen:  

ALLLLLL MAPS of ragnarok??

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

all the towns that you want this event get triggered.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  151
  • Reputation:   5
  • Joined:  11/09/12
  • Last Seen:  

but when i added the mapflag the cutin only tigger once dont matter what... only work if i do @reloadscript

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

OnPCLoadMapEvent trigger everytime you reload the map ( ex. teleport / warp / jump .. )

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  151
  • Reputation:   5
  • Joined:  11/09/12
  • Last Seen:  

thk a lot Emistry 

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