Critica Posted June 4, 2012 Posted June 4, 2012 hi guys, can anyone script this bonus? its like a 3rd job ticket where when u use it, it will allow you tho choose what kind of job you want. but for me, i would like to make it as an item too choose, when a box is click, a list of item to choose will show.. anyone pls?? thanks Quote
0 Kuneho Posted June 3, 2020 Posted June 3, 2020 On 6/5/2012 at 1:54 AM, Euphy said: Create any item and make it call a function. Then, function script JobBox { setarray .@Jobs$[0], "Rune Knight", "Warlock", "Ranger", "Arch Bishop", "Mechanic", "Guillotine Cross", "Royal Guard", "Sorcerer", "Minstrel", "Wanderer", "Sura", "Genetic", "Shadow Chaser"; setarray .@Items[0], <Rune Knight item>, <Warlock item>, <etc.>; set .@menu$,""; for(set .@i,0; .@i<getarraysize(.@Jobs$); set .@i,.@i+1) set .@menu$, .@menu$+.@Jobs$[.@i]+":"; getitem .@Items[select(.@menu$)], 1; return; } question how to make item many like vset put it inside for one selection Str Set = vset Quote
Euphy Posted June 4, 2012 Posted June 4, 2012 Create any item and make it call a function. Then, function script JobBox { setarray .@Jobs$[0], "Rune Knight", "Warlock", "Ranger", "Arch Bishop", "Mechanic", "Guillotine Cross", "Royal Guard", "Sorcerer", "Minstrel", "Wanderer", "Sura", "Genetic", "Shadow Chaser"; setarray .@Items[0], <Rune Knight item>, <Warlock item>, <etc.>; set .@menu$,""; for(set .@i,0; .@i<getarraysize(.@Jobs$); set .@i,.@i+1) set .@menu$, .@menu$+.@Jobs$[.@i]+":"; getitem .@Items[select(.@menu$)], 1; return; } Quote
Critica Posted June 5, 2012 Author Posted June 5, 2012 thanks Euphy, there's some mistake in the script, but i got it all figured out.. it worked as i expected. you're always helping me,, thanks again Quote
Euphy Posted June 5, 2012 Posted June 5, 2012 Oh, my bad, forgot the colons lol. Sorry about that, and no problem~ Quote
Critica Posted June 5, 2012 Author Posted June 5, 2012 Hey Euphy, i just notice, after i choose the item, i get stucked i cant, move, need to relog again.. function script JobBox { setarray .@Jobs$[0], "Valkyrie Package Set STR:Valkyrie Package Set AGI:Valkyrie Package Set VIT:Valkyrie Package Set INT:Valkyrie Package Set DEX:Valkyrie Package Set LUK"; setarray .@Items[0], 13634, 13636, 503, 13637, 13638, 13639; set .@menu$,""; for(set .@i,0; .@i<getarraysize(.@Jobs$); set .@i,.@i+1) set .@menu$, .@menu$+.@Jobs$[.@i]; getitem .@Items[select(.@menu$)], 1; end; } here's my script. can u fix it?? thanks Quote
Euphy Posted June 5, 2012 Posted June 5, 2012 Use "close" instead of "end". You can't use only "end" when there's either a text box open or a menu at some point in the script (the case here). Quote
Critica Posted June 5, 2012 Author Posted June 5, 2012 hahaa!! greaaaaaaaat!! thanks bRo! ur awsome (DOne) Quote
Question
Critica
hi guys, can anyone script this bonus?
its like a 3rd job ticket where when u use it, it will allow you tho choose what kind of job you want.
but for me, i would like to make it as an item too choose, when a box is click, a list of item to choose will show..
anyone pls?? thanks
7 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.