I just want to override the mes if the states of the npc is no longer available without conditional check, but there is warning pop up on map-server console.
while setting state on variable to not longer available can do this it need extra check every continuation, but if there is multiple next or while on the script, it need multiple check after it, so how can I do it the clean or right way ??
protnera,230,273,0 script test override 112,{
attachnpctimer; initnpctimer;
while(1) {
mes "You are talking to this npc";
next;
select("-Yes");
}
close;
OnTimer15000:
detachnpctimer;
mes "15 Seconds have passed.";
close;
}
warning pop up on map-server console
[Warning]: Unable to restore stack! Double continuation!
[Debug]: Previous script (lost):
[Debug]: Source (NPC): test override at prontera (230,273)
[Debug]: Current script:
[Debug]: Source (NPC): test override at prontera (230,273)
I just want to override the mes if the states of the npc is no longer available without conditional check, but there is warning pop up on map-server console.
while setting state on variable to not longer available can do this it need extra check every continuation, but if there is multiple next or while on the script, it need multiple check after it, so how can I do it the clean or right way ??
protnera,230,273,0 script test override 112,{ attachnpctimer; initnpctimer; while(1) { mes "You are talking to this npc"; next; select("-Yes"); } close; OnTimer15000: detachnpctimer; mes "15 Seconds have passed."; close; }warning pop up on map-server console
[Warning]: Unable to restore stack! Double continuation! [Debug]: Previous script (lost): [Debug]: Source (NPC): test override at prontera (230,273) [Debug]: Current script: [Debug]: Source (NPC): test override at prontera (230,273)
Edited by Litro EndemicLink to comment
Share on other sites