Currently Posted January 13, 2013 Group: Members Topic Count: 162 Topics Per Day: 0.03 Content Count: 313 Reputation: 1 Joined: 01/22/12 Last Seen: November 17, 2023 Share Posted January 13, 2013 Example: A potion that when used. randomly changelook "middle" headgear with viewids between 1527~1621 Quote Link to comment Share on other sites More sharing options...
AnnieRuru Posted January 13, 2013 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 2044 Reputation: 682 Joined: 10/09/12 Last Seen: December 20, 2020 Share Posted January 13, 2013 OnPCStatCalcEvent_17097.patch prontera,156,182,5 script kjfhskjf 100,{ input @changelook_mid_head; if ( @changelook_mid_head ) changelook LOOK_HEAD_MID, @changelook_mid_head; else if ( !@changelook_mid_head && getequipid( EQI_HEAD_MID ) != -1 ) changelook LOOK_HEAD_MID, getiteminfo( getequipid( EQI_HEAD_MID ),11 ); close; OnPCStatCalcEvent: if ( @changelook_mid_head ) changelook LOOK_HEAD_MID, @changelook_mid_head; end; } if you can understand this script, your request is no problem something like OnItemUse: @changelook_mid_head = rand(1527,1621); end; OnPCStatCalcEvent: if ( @changelook_mid_head ) changelook LOOK_HEAD_MID, @changelook_mid_head; end; 1 Quote Link to comment Share on other sites More sharing options...
Question
Currently
Example: A potion that when used. randomly changelook "middle" headgear with viewids between 1527~1621
Link to comment
Share on other sites
1 answer 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.