50ShadesOfGrey Posted September 19, 2012 Posted September 19, 2012 (edited) I'm not sure what it's called, but in other servers it was called "Dyna". If wearing an item, you can whisper a NPC and change to your desired look. Example - Wearing Bunny hat( Item ID 19805 ) whisper NPC:Dyna, saying "*Name of item*", then it will change to that look.. I've tried this, but when I type in the name, it doesn't change my look..? "None" works though. - script Dyna -1,{ OnWhisperGlobal: // == No Sprite if(isequipped(19805)) { if(@whispervar0$ == "None") { atcommand "@changelook 2 0"; end; } else { if(@whispervar0$ == "Elemental Wings") { atcommand "@changelook 2 19810"; end; } } } } Edited September 20, 2012 by 50ShadesOfGrey Quote
Euphy Posted September 20, 2012 Posted September 20, 2012 "@changelook" uses View ID, not item ID. The "location" parameter is optional. I'd suggest using item ID as input instead of name, as one command will be able to handle all cases, then (after conditionals): atcommand "@changelook "+getiteminfo(atoi(@whispervar0$),14); Quote
50ShadesOfGrey Posted September 20, 2012 Author Posted September 20, 2012 "@changelook" uses View ID, not item ID. The "location" parameter is optional. I'd suggest using item ID as input instead of name, as one command will be able to handle all cases, then (after conditionals): atcommand "@changelook "+getiteminfo(atoi(@whispervar0$),14); I apologize if this isn't what you mean, but I tried this and when I say "19816" It changes my headgear to nothing. - script Dyna -1,{ OnWhisperGlobal: // == No Sprite if(isequipped(19805)) { if(@whispervar0$ == "None") { atcommand "@changelook 2 0"; end; } else { if(@whispervar0$ == "19816") { atcommand "@changelook "+getiteminfo(atoi(@whispervar0$),14); end; } } } } Quote
Euphy Posted September 20, 2012 Posted September 20, 2012 Oh, never mind, getiteminfo doesn't retrieve View ID for some reason... o.o You'll have to use getiteminfo(x,11) then, but it requires multiple checks. See Toasty's item preview script for an example: http://sushiduy.plesk3.freepgs.com/ROScripts/preview_v101.txt Quote
Question
50ShadesOfGrey
I'm not sure what it's called, but in other servers it was called "Dyna". If wearing an item, you can whisper a NPC and change to your desired look.
Example - Wearing Bunny hat( Item ID 19805 ) whisper NPC:Dyna, saying "*Name of item*", then it will change to that look..
I've tried this, but when I type in the name, it doesn't change my look..? "None" works though.
Edited by 50ShadesOfGrey3 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.