Jump to content
  • 0
raPalooza~

Timed clif->specialeffect?

Question

3 answers to this question

Recommended Posts

  • 0

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;

 

Share this post


Link to post
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.   Restore formatting

  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.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.