Jump to content
  • 0
Timokha

Special effect on all players at map

Question

Hello all!

 

Can you please advise, is there a solution to apply special effect on all characters located on specific map via script (ex. in Prontera)?

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

using OnPCLoadMapEvent and then do you script to give special effect

dont forget to give mapflag Loadevent on map do you want to show the effect

Share this post


Link to post
Share on other sites
  • 0

But OnPCLoadMapEvent triggers when the character loads on specific map with label. I need to apply actions (specialeffect, getitem, etc) to all characters already located on map (already loaded).

Share this post


Link to post
Share on other sites
  • 0
18 hours ago, Timokha said:

But OnPCLoadMapEvent triggers when the character loads on specific map with label. I need to apply actions (specialeffect, getitem, etc) to all characters already located on map (already loaded).

when you want to give all effect when someone getitem from npc
just use getunits to get all char ID on map do you want
and then give all them specialeffect
See on Script_command.txt and search function getunits

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...

Important Information

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