I was wondering if there was any script command that would check if a player has a costume item equipped? This is what I've tried in the script that I was creating however I wouldn't get it to work as there's no 'getequipid(1024)' or 'getequipid(2048)' or 'getequipid(4096)'
celestiaj,60,82,5 script Dynamic 817,{
if(isequipped(20003) || isequipped(20004) || isequipped(20005)) {
mes "Looks like you're wearing a Dynamic Headgear! What would you like to do?";
switch(select("Merely nothing!:Change my Upper Headgear:Change my Middle Headgear:Change my Lower Headgear:Clear my Dynamic Headgears!")) {
case 1:
close;
case 2:
if(getequipid(1024) == 20003) {
mes "Please input the headgear ID you wish to change your Upper Headgear to!";
input upper_head;
next;
setlook 1024,upper_head;
close; } else { mes "You trying to trick me or something?!"; close; }
case 3:
if(getequipid(2048) == 20004) {
mes "Please input the headgear ID you wish to change your Middle Headgear to!";
input mid_head;
next;
setlook 2048,mid_head;
close; } else { mes "You trying to trick me or something?!"; close; }
case 4:
if(getequipid(4096) == 20005) {
mes "Please input the headgear ID you wish to change your Lower Headgear to!";
input low_head;
next;
setlook 4096,low_head;
close; } else { mes "You trying to trick me or something?!"; close; }
case 5:
mes "Now reseting your Upper Headgear!";
setlook 1024,0;
next;
mes "Now reseting your Middle Headgear!";
setlook 2048,0;
next;
mes "Now reseting your Lower Headgear!";
setlook 4096,0;
close;
}
} else { mes "I have no business with you."; close; }
}
Question
Nipsino
I was wondering if there was any script command that would check if a player has a costume item equipped? This is what I've tried in the script that I was creating however I wouldn't get it to work as there's no 'getequipid(1024)' or 'getequipid(2048)' or 'getequipid(4096)'
Link to comment
Share on other sites
5 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.