• 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.

[General] Can you show a Lightning Effect for only a specific player?

Status
Not open for further replies.
Level 24
Joined
Jun 26, 2020
Messages
1,928
Just use the GetLocalPlayer like this:
  • Custom script: if GetLocalPlayer() != "Your player" then
  • Lightning - Change color of (Last created lightning effect) to (1.00 1.00 1.00) with 0.00 alpha
  • Custom script: endif
Or:
  • Set TempReal = 0.00
  • Custom script: if GetLocalPlayer() == "Your player" then
  • Set TempReal = 1.00
  • Custom script: endif
  • Lightning - Change color of (Last created lightning effect) to (1.00 1.00 1.00) with TempReal alpha
 
Status
Not open for further replies.
Top