Jump to content
  • 0

Function? Changelook random viewid.


Question

1 answer to this question

Recommended Posts

Posted

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;

  • Upvote 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...