elcontrol00 Posted May 20, 2014 Group: Members Topic Count: 36 Topics Per Day: 0.01 Content Count: 236 Reputation: 1 Joined: 04/25/12 Last Seen: December 18, 2018 Share Posted May 20, 2014 tried using search and found a lot of quests with item preview but i dont want a quest just a simple NPC click it it asks for the item ID you enter it it shows the item (It does not give the item). where did i get the idea? Want something like this that they can see the hats but not get themhttp://www.eathena.ws/board/index.php?s=&showtopic=186284 tried downloading it link appears to be down. Thanks. Quote Link to comment Share on other sites More sharing options...
1 Veracious Posted May 20, 2014 Group: Members Topic Count: 17 Topics Per Day: 0.00 Content Count: 179 Reputation: 17 Joined: 04/24/14 Last Seen: February 17, 2024 Share Posted May 20, 2014 (edited) Script from Toast of Doom's topic - http://www.eathena.ws/board/lofiversion/index.php/t186284.html //============================================================ //= Preview Item Script //===== By: ================================================== //= iHeart //===== Current Version: ===================================== //= 1.0 //===== Description: ========================================= //= A method to allow headgear sprites to be previewed without //= being 'stolen' //============================================================ prontera,155,156,5 script PreviewStuff 813,{ //save current look for later set @bottomview, getlook(3); set @topview, getlook(4); set @midview, getlook(5); //doesn't actually execute until just before a 'close' statement, or when the char leaves the npc's control addtimer 1000, "PreviewStuffGlobal::On_Leave"; INTRO: mes "Welcome to the preview NPC"; mes "Please input an itemID you would like to preview"; input @itemid; //modifies char's look based on item set @equip, getiteminfo(@itemid, 5); set @view, getiteminfo(@itemid, 11); if(@equip != -1 && @view > 0) { //note: yes...i'm using atcommand here cause for some reason // 'setlook' has permanent effects...last time i checked at least if(@equip & 1) atcommand "@changelook 3 " + @view; if(@equip & 256) atcommand "@changelook 1 " + @view; if(@equip & 512) atcommand "@changelook 2 " + @view; } next; mes "Would to like to preview something else?"; if(select("Yes", "No") == 1) { goto INTRO; } //*preview wears off automatically here due to delayed timer*// close; } - script PreviewStuffGlobal ,{ On_Leave: atcommand "@changelook 1 " + @topview; atcommand "@changelook 2 " + @midview; atcommand "@changelook 3 " + @bottomview; close; } One more similar script - http://rathena.org/board/topic/94401-just-need-a-item-preview-script/ Edited May 20, 2014 by Veracious 1 Quote Link to comment Share on other sites More sharing options...
elcontrol00 Posted May 20, 2014 Group: Members Topic Count: 36 Topics Per Day: 0.01 Content Count: 236 Reputation: 1 Joined: 04/25/12 Last Seen: December 18, 2018 Author Share Posted May 20, 2014 (edited) Works fine thank you!~ Edited May 20, 2014 by elcontrol00 Quote Link to comment Share on other sites More sharing options...
Question
elcontrol00
tried using search and found a lot of quests with item preview but i dont want a quest just a simple NPC click it it asks for the item ID you enter it it shows the item (It does not give the item).
where did i get the idea? Want something like this that they can see the hats but not get them
http://www.eathena.ws/board/index.php?s=&showtopic=186284
tried downloading it link appears to be down.
Thanks.
Link to comment
Share on other sites
2 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.