HristDead Posted August 9, 2012 Group: Members Topic Count: 66 Topics Per Day: 0.01 Content Count: 167 Reputation: 2 Joined: 08/01/12 Last Seen: October 9, 2019 Share Posted August 9, 2012 Hi. I was wondering if it's possible that once a player has reached for example level 16, a dialogue pops up with a menu. Shouldn't be clickable, and should occur on any map. This is what I got so far: prontera,153,193,6 script NPC -1,{ if(BaseLevel > 15 || BaseLevel < 17); mes "You've reached level 16."; close; } Help very much appreciated. Quote Link to comment Share on other sites More sharing options...
Reducto Posted August 9, 2012 Group: Members Topic Count: 75 Topics Per Day: 0.02 Content Count: 231 Reputation: 9 Joined: 12/16/11 Last Seen: August 10, 2016 Share Posted August 9, 2012 (edited) - script Level_UP -,{ OnPCBaseLvUpEvent: if(BaseLevel == 5) getitem 501,1; mes "test"; close; elseif(BaseLevel == 60) getitem 501,1; mes "test"; close; elseif(BaseLevel == 70) getitem 501,1; mes "test"; close; elseif(BaseLevel == 80) getitem 501,1; mes "test"; close; elseif(BaseLevel == 99) getitem 501,1; mes "test"; close; } Try this... Edited August 9, 2012 by Cuspid Quote Link to comment Share on other sites More sharing options...
Euphy Posted August 9, 2012 Group: Members Topic Count: 72 Topics Per Day: 0.02 Content Count: 2997 Reputation: 1132 Joined: 05/27/12 Last Seen: June 1, 2017 Share Posted August 9, 2012 @Cuspid: That's not anything he asked for, don't copy/paste irrelevant code without reading it. The event "OnPCBaseLvUpEvent" triggers each time a player levels up. Also, never put a semicolon after a conditional (if, while, for). - script NPC -1,{ OnPCBaseLvUpEvent: if(BaseLevel == 16) { mes "You've reached level 16."; close; } end; } 1 Quote Link to comment Share on other sites More sharing options...
Question
HristDead
Hi.
I was wondering if it's possible that once a player has reached for example level 16, a dialogue pops up with a menu.
Shouldn't be clickable, and should occur on any map.
This is what I got so far:
Help very much appreciated.
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.