Jump to content
  • 0

Emotions every 5 secs


Limestone

Question


  • Group:  Members
  • Topic Count:  155
  • Topics Per Day:  0.03
  • Content Count:  647
  • Reputation:   16
  • Joined:  11/21/11
  • Last Seen:  

Hi rathena! i tried to make a script of auto emotions in every 5 secs but i failed, can any one help me? thanks! here's my script.

 

// Quest Emotion
-    script    #quest_emotion    -1,{
OnInit:
        initnpctimer;
        end;
OnTimer5000:
        emotion e_gasp;
        initnpctimer;
        end;
}
Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  398
  • Reputation:   131
  • Joined:  11/10/12
  • Last Seen:  

try this

// Quest Emotion
-    script    #quest_emotion    -1,{
OnInit:
	while(1) {
        emotion e_gasp;
	sleep 5000;
	}
        end;
}
Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  

Your npc won't do nothing, there is none target for emotion. By default the target is a npc with location.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  398
  • Reputation:   131
  • Joined:  11/10/12
  • Last Seen:  

i think he is just asking for the code. He did not put the location etc.. coz it's non-sense

Link to comment
Share on other sites

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...