Critica Posted June 4, 2012 Group: Members Topic Count: 82 Topics Per Day: 0.02 Content Count: 223 Reputation: 4 Joined: 02/23/12 Last Seen: March 28, 2018 Share 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 Link to comment Share on other sites More sharing options...
0 Kuneho Posted June 3, 2020 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 59 Reputation: 2 Joined: 08/01/12 Last Seen: April 19, 2022 Share 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 Link to comment Share on other sites More sharing options...
Euphy Posted June 4, 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 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 Link to comment Share on other sites More sharing options...
Critica Posted June 5, 2012 Group: Members Topic Count: 82 Topics Per Day: 0.02 Content Count: 223 Reputation: 4 Joined: 02/23/12 Last Seen: March 28, 2018 Author Share 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 Link to comment Share on other sites More sharing options...
Euphy Posted June 5, 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 June 5, 2012 Oh, my bad, forgot the colons lol. Sorry about that, and no problem~ Quote Link to comment Share on other sites More sharing options...
Critica Posted June 5, 2012 Group: Members Topic Count: 82 Topics Per Day: 0.02 Content Count: 223 Reputation: 4 Joined: 02/23/12 Last Seen: March 28, 2018 Author Share 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 Link to comment Share on other sites More sharing options...
Euphy Posted June 5, 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 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 Link to comment Share on other sites More sharing options...
Critica Posted June 5, 2012 Group: Members Topic Count: 82 Topics Per Day: 0.02 Content Count: 223 Reputation: 4 Joined: 02/23/12 Last Seen: March 28, 2018 Author Share Posted June 5, 2012 hahaa!! greaaaaaaaat!! thanks bRo! ur awsome (DOne) Quote Link to comment Share on other sites More sharing options...
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
Link to comment
Share on other sites
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.