SE talktome make it visible only for player 1

world23wc3

Member
Reaction score
6
Is there a way to make like a special effect only is showed for player 1 fro example. How can this be done ? Pelase help me.
 

Larcenist

REP: Respect, Envy, Prosperity?
Reaction score
211
JASS:
function CreateEffectForPlayer takes string path, player p, real x, real y returns nothing
    if (GetLocalPlayer() != p) then
        set path = ""
    endif
    call DestroyEffect(AddSpecialEffect(path, x, y))
endfunction


path would be the special effect path: "My//SFX//Path.mdl" or similar
player is, obviously, the player you wish to display it for.
x and y is the x and y values where you wish for the SFX to occur.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top