raPalooza~ 101 Posted July 16, 2017 It is a very simple question of how can I create a timed clif->specialeffect? Quote Share this post Link to post Share on other sites
0 meko 170 Posted July 17, 2017 It really depends on what you wish to accomplish. Do you want to do it from a plugin or from scripts? Do you want the effect to be centered on the player or on another unit (mob,npc, ...)? Do you want all players in the area to see it or only one player? From a plugin you would simply push to the event queue, while from script you would use addtimer() or npc timers in combination with specialeffect(). @timed_effect = EF_HITDARK; // set a PC variable with the effect to use addtimer(500, strnpcinfo(NPC_NAME) + "::OnTimedEffect"); // set the trigger to 500ms in the future end; // terminate execution OnTimedEffect: specialeffect(@timed_effect, AREA, playerattached()); // show the effect to everyone in the area, centered on the attached player end; Quote Share this post Link to post Share on other sites
0 raPalooza~ 101 Posted July 17, 2017 I meant on plugin, on a clif itself. to be used with timer->addtimer Quote Share this post Link to post Share on other sites
0 Easycore 31 Posted August 17, 2017 You need to make a new clif->specialeffect function or simply use a sc_start, and when that status ends trigger a clif->specialeffect. Quote Share this post Link to post Share on other sites
It is a very simple question of how can I create a timed clif->specialeffect?
Share this post
Link to post
Share on other sites