Jump to content
  • 0

specialeffect2 and sleep2 and skill conflict?


Gouki

Question


  • Group:  Members
  • Topic Count:  82
  • Topics Per Day:  0.06
  • Content Count:  241
  • Reputation:   11
  • Joined:  08/12/20
  • Last Seen:  

Script: |
      specialeffect2 775; sleep2 1000; specialeffect2 445; sleep2 1000; itemskill "AL_TELEPORT",3;


Just playing around with special effects, unfortunately sometimes the itemskill triggers, and most of the time it doesn't. What could be wrong?

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  924
  • Reputation:   166
  • Joined:  04/05/13
  • Last Seen:  

Add 3s delay when using it to prevent multiple consumption.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  82
  • Topics Per Day:  0.06
  • Content Count:  241
  • Reputation:   11
  • Joined:  08/12/20
  • Last Seen:  

Tried make all sleep2 to 3000, still the itemskill doesn't execute. I'm not sure why. the goal of the sleep2 is just to let the animation of the effect finish before the other triggers, is there a natural script command to perform and let the effects finish first before moving to the next script? or sleep2 is the only way in this case?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  924
  • Reputation:   166
  • Joined:  04/05/13
  • Last Seen:  

I mean use item delay (Like cashshop item delay).

See   - Id: 11524 for example

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  82
  • Topics Per Day:  0.06
  • Content Count:  241
  • Reputation:   11
  • Joined:  08/12/20
  • Last Seen:  

thats a good idea, but the skill still doesnt trigger after the effects.. wonder why..

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  924
  • Reputation:   166
  • Joined:  04/05/13
  • Last Seen:  

itemskill will triggered only if item type was 'DelayConsume'

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