• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Effect visible for a player

Status
Not open for further replies.

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,287
Use GetLocalPlayer to determine the model path used by the effect. For example if GetLocalPlayer is inside the player group then use the visible model path, otherwise use an empty string model path. It is important that both model paths always be declared before such selection takes place to avoid desync. For logical reasons the effect must be created for all clients to avoid a desync, hence why it is created on some with an invisible (empty string) model when they are not meant to see it.
 
Status
Not open for further replies.
Top