I ask too much for help.... D: But its those stinking arrays :<
I can't seem to get the Angel Ears part to work, but the 25200 part works as well as the "none". Oh and even without the equip '24992' a player can still change his/her look. Help D:.
gm02,94,98,4 script Lower 793,{
if(isequipped(24992)) {
OnInit:
setarray .@lowerid[0],25200,25201,25202,25203,25204,25205,25206,25207,25208,25209,25210,25211,25212;
setarray .@lowername$[0],"Angel Ears","Emperor Shoulders","Gangster Scarf","Ice Cream","Little Devil Tail","Neko no Shippo","Saiyan Tail","Scarlet Angel Ears","Jirachi Rucksack","Angeling Rucksack","ArchAngeling Rucksack","Deviling Rucksack","Pokeball Rucksack";
for ( set .@i, 0; .@i < getarraysize(.@lowerid); set .@i, .@i +1 ) ;
for ( set .@i, 0; .@i < getarraysize(.@lowername$); set .@i, .@i +1 ) ;
// == Whisper
defpattern 1, "([^:]+):.*sNone(.*)", "iNone";
defpattern 1, "([^:]+):.*s"+.@lowerid[0]+"(.*)", "iAngelEars";
defpattern 1, "([^:]+):.*s"+.@lowername$[0]+"[.*)", "iAngelEars";
activatepset 1;
end;
// == Action
iNone:
setlook 3,0;
npctalk strcharinfo(0) + " has changed his Dyna Lower Look!";
end;
iAngelEars:
setlook 3,1700;
npctalk strcharinfo(0) + " has changed his Dyna Lower Look!";
end;
} else { end;}
}
Question
iFoxkun
I ask too much for help.... D: But its those stinking arrays :<
I can't seem to get the Angel Ears part to work, but the 25200 part works as well as the "none". Oh and even without the equip '24992' a player can still change his/her look. Help D:.
Edited by iFoxkunLink to comment
Share on other sites
10 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.