Jump to content
  • 0

addtimer on instance


gekigengar

Question


  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  174
  • Reputation:   2
  • Joined:  08/30/13
  • Last Seen:  

I am following the sealed shrine format to instancing, but what I notice is,

When I am using

OnInstanceInit:
    initnpctimer;

OnTimer8000:
    warp instancemapname("abyss_03"), 150, 150;
    specialeffect2 49;
    percentheal -30,0;
    end;

I cannot do any commands such as specialeffect2 and such player targeted functions

 

I tried doing addtimer, but it does not work in instance somehow.. (I think the npc name failures??)

(How Do I do addtimer on instance anyways?)

 

I want to do it to the entire player in the map.

Any workaround on this?

Edited by gekigengar
Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  

addrid command or attachrid or attachnpctimer command, please refer to doc/script_commands.txt

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  

Attach your players so you can access player commands.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  174
  • Reputation:   2
  • Joined:  08/30/13
  • Last Seen:  

Attach your players so you can access player commands.

Hoiw do I do that?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  174
  • Reputation:   2
  • Joined:  08/30/13
  • Last Seen:  

addrid command or attachrid or attachnpctimer command, please refer to doc/script_commands.txt

That worked well! Thanks!

 

Never knew there is such a script due the lack of usage..

Edited by gekigengar
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...