Jump to content
  • 0

WOE WARPER


Question

Posted

1 click emperium like dis click(npc)>warp

for viblainn and mardol only and please put the duplicate npc because im having trouble this npc.

sorry newbie here

9 answers to this question

Recommended Posts

Posted

prontera,155,181,5 script Sample 718,{

setarray .Map$[0],"prt_gld","pay_gld","alde_gld","sch_gld","aru_gld";
mes "Where you want to go ?";
for( set .@i,0; .@i < getarraysize( .Map$ ); set .@i,.@i + 1 ){
set .@Menu$,.@Menu$ + .Map$ +":";
}
set .@i,select( .@Menu$ ) - 1;
warp .Map$[.@i],0,0;
end;
}

prontera,155,181,5 duplicate(Sample) Sample#1 742
prontera,155,181,5 duplicate(Sample) Sample#2 742
prontera,155,181,5 duplicate(Sample) Sample#3 742
prontera,155,181,5 duplicate(Sample) Sample#4 742
prontera,155,181,5 duplicate(Sample) Sample#5 742

try this one

>__<

Posted (edited)

try this

prontera,155,181,5 script Sample 718,{
setarray .Map$[0],"prt_gld","pay_gld","alde_gld","sch_gld","aru_gld";
mes "Where you want to go ?";
for( set .@i,0; .@i < getarraysize( .Map$ ); set .@i,.@i + 1 ){
set .@Menu$,.@Menu$ + .Map$[.@i] +":";
}
set .@i,select( .@Menu$ ) - 1;
warp .Map$[.@i],0,0;
end;
}
prontera,155,181,5 duplicate(Sample) Sample#1 742
prontera,155,181,5 duplicate(Sample) Sample#2 742
prontera,155,181,5 duplicate(Sample) Sample#3 742
prontera,155,181,5 duplicate(Sample) Sample#4 742
prontera,155,181,5 duplicate(Sample) Sample#5 742

next time...please spend some time elaborate what you want in detail ==''

Edit : Fixed Array and Menu Repeating Problems

Edited by Emistry
Posted (edited)

@Emistry

script error on npc/custom/woe.txt line 4

need '('

2 : {

3 : setarray .Map$[0],"prt_gld","pay_gld","alde_gld","sch_gld","aru_gld",

* 4 : mes '"'Where you want to go ?";

5 : for( set .@i,0; .@i < getarraysize( .Map$ ); set .@i,.@i + 1 ){

6 : set .@Menu$,.@Menu$ + .Map$ +":";

7 : }

8 : set .@i,select( .@Menu$ ) - 1;

9 : warp .Map$[.@i],0,0;

and

[Error]: npc_parsesrcfile: Unknown syntax in file 'npc/custom/woe.txt', line '12

'. Stopping...

* w1=prontera,155,181,5 duplicate(Sample) Sample#1 742

* w2=

* w3=

* w4=

next time...please spend some time elaborate what you want in detail ==''

i just want a woe warper that has viblainn & mardol only no other than that..

Edited by tycoon
Posted
setarray .Map$[0],"prt_gld","pay_gld","alde_gld","sch_gld","aru_gld",

i forget to close the array...

setarray .Map$[0],"prt_gld","pay_gld","alde_gld","sch_gld","aru_gld";

Posted

wrong.. :(

the 4 menu is all prt_gld

please state the Mardol(aru_gld) and warp to here aru_gld 161,267

also for Viblainn(sch_gld) and warp to sch_gld 97,193

like if i choose Mardol in the Menu i will warp here aru_gld 161,267 for Viblainn sch_gld 97,193

I Hope You Get That Sir

Posted
prontera,155,181,5 script Sample 718,{
switch( select("Mardol:Viblainn") ){
Case 1: warp "aru_gld",161,267; break;
Case 2: warp "sch_gld",97,193; break;
}
end;
}

  • Upvote 1
Posted

=='' because you didnt explain your request very well....

this things happen when you dont want to spend your time to try explain / elaborate your requests..

so, next time please remember to elaborate it...

  • Upvote 1

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...