50ShadesOfGrey Posted September 19, 2012 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 11 Reputation: 0 Joined: 09/14/12 Last Seen: September 21, 2012 Share 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 Link to comment Share on other sites More sharing options...
Euphy Posted September 20, 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 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 Link to comment Share on other sites More sharing options...
50ShadesOfGrey Posted September 20, 2012 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 11 Reputation: 0 Joined: 09/14/12 Last Seen: September 21, 2012 Author Share 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 Link to comment Share on other sites More sharing options...
Euphy Posted September 20, 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 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 Link to comment Share on other sites More sharing options...
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 50ShadesOfGreyLink to comment
Share on other sites
3 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.