ragnazorg 1 Posted February 10, 2013 So I have to make a quest script which has this restriction (to go further on with the quest, player must be partied with a wanderer or a minstrel) I've checked the script commands but there is no explanation about how to check for specific class. Anyone got inputs on this? Quote Share this post Link to post Share on other sites
0 Nameless2you 97 Posted February 10, 2013 Try this, maybe it's what you're looking for.http://upaste.me/c38153546a3c4f98Fulfills requirement of:-Must be 3-Must be onlineAnnounces if Minstrel or Wanderer. ? Easy to edit the rest to your desire. Quote Share this post Link to post Share on other sites
0 clydelion 4 Posted February 18, 2013 This should work(in theory) getpartymember getcharid(1),0; getpartymember getcharid(1),1; getpartymember getcharid(1),2; set .@count, $@partymembercount; copyarray .@name$[0], $@partymembername$[0], $@partymembercount; // list the party member names for (set .@i,0; .@i < .@count; set .@i, .@i+1) { if ((readparam(Class,.@name$[.@i]) == 4075 || readparam(Class,.@name$[.@i]) == 4076) && isloggedin( $@partymemberaid[.@i], $@partymembercid[.@i]) //THE PARTY HAS A WANDERER/MINSTREL! //THE PARTY HAS A WANDERER/MINSTREL! //THE PARTY HAS A WANDERER/MINSTREL! } close; Uses readparam script command. The actual readparam usage is readparam(<type>{,"<character name>"}); type can be StatusPoint, BaseLevel, SkillPoint, Class, Upper, Zeny, Sex, Weight, MaxWeight,JobLevel, BaseExp, JobExp, NextBaseExp, NextJobExp, Hp, MaxHp, Sp, MaxSp,BaseJob, Karma, Manner, bVit, bDex, bAgi, bStr, bInt, bLuk 2 Patskie and Diconfrost VaNz reacted to this Quote Share this post Link to post Share on other sites
So I have to make a quest script which has this restriction
I've checked the script commands but there is no explanation about how to check for specific class.
Anyone got inputs on this?
Share this post
Link to post
Share on other sites