Jump to content
  • 0

changelook


GoldRo

Question


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  11
  • Reputation:   0
  • Joined:  08/11/12
  • Last Seen:  

Good time for you, friends

I have next problem:

Disguise Hat npc scripted by me in 2010, trying to use it now

so we have npc, wich inserts item in your headgear in 4 slot

id,Top_Coin1,Top_Coin1,3,10,,0,,,,,,,,,,,,,{callfunc "DisguiseHat",1;},{},{changelook 4,0;}

as you see - this item calls for func

this func

function	script	DisguiseHat	{
switch(getarg(0)){
case 1:
	changelook 4,topdisg1;
	break;

topdisg1 var saves correctly in other npc func (checked in mysql)

item inserts correctly to, but sprite dont changing :(

Edited by GoldRo
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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.

×
×
  • Create New...