drifterxxxx2 Posted December 15, 2017 Group: Members Topic Count: 38 Topics Per Day: 0.01 Content Count: 83 Reputation: 3 Joined: 10/22/17 Last Seen: June 5, 2021 Share Posted December 15, 2017 Hi I'm making several custom items and I was wondering how to add a delay of 1 sec to the effect on potions I have this so far 35027,T_Potion,Test Potion,0,1,,50,,,,,0xFFFFFFFF,63,2,,,,,,{ itemheal rand(325,405),0; { specialeffect2 207; sleep2 1000; } },{},{} but it isn't working Quote Link to comment Share on other sites More sharing options...
0 Najara Posted December 15, 2017 Group: Members Topic Count: 36 Topics Per Day: 0.01 Content Count: 404 Reputation: 247 Joined: 12/17/11 Last Seen: 9 hours ago Share Posted December 15, 2017 Hi, this is easier to accomplish through the db/(pre-)re/item_delay.txt file. Simply add an entry under the // Misc tab, like so: 35027,1000 // Test Potion Quote Link to comment Share on other sites More sharing options...
0 drifterxxxx2 Posted December 16, 2017 Group: Members Topic Count: 38 Topics Per Day: 0.01 Content Count: 83 Reputation: 3 Joined: 10/22/17 Last Seen: June 5, 2021 Author Share Posted December 16, 2017 12 hours ago, Najara said: Hi, this is easier to accomplish through the db/(pre-)re/item_delay.txt file. Simply add an entry under the // Misc tab, like so: 35027,1000 // Test Potion Thanks for your response I'm aware of item_delay I just wanted to add a delay on the effect, more like learn how to I thought sleep2 would pause the script specialeffect2 but it is not working Quote Link to comment Share on other sites More sharing options...
0 llchrisll Posted December 16, 2017 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 626 Reputation: 189 Joined: 11/19/11 Last Seen: March 25 Share Posted December 16, 2017 Well you could try to add sleep2 before the effect. Not sure if it helps tho. Quote Link to comment Share on other sites More sharing options...
Question
drifterxxxx2
Hi
I'm making several custom items and I was wondering how to add a delay of 1 sec to the effect on potions
I have this so far
35027,T_Potion,Test Potion,0,1,,50,,,,,0xFFFFFFFF,63,2,,,,,,{ itemheal rand(325,405),0; { specialeffect2 207; sleep2 1000; } },{},{}
but it isn't working
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.