Uncle
Warcraft Moderator
- Joined
- Aug 10, 2018
- Messages
- 7,871
I'm trying to use GetLocalPlayer() to show a special effect to only one player. I followed what was written about here: Any way to show a special effect to a single player?
But in multiplayer tests it doesn't seem to work. The special effects are not using the <Empty String> that is meant to "hide" them. In other words, I can see Player 2's special effects as Player 1, and vice versa.
This is on the latest patch.
But in multiplayer tests it doesn't seem to work. The special effects are not using the <Empty String> that is meant to "hide" them. In other words, I can see Player 2's special effects as Player 1, and vice versa.
This is on the latest patch.
-
Setup Quest Markers
-
Events
-
Time - Elapsed game time is 0.25 seconds
-
-
Conditions
-
Actions
-
Set VariableSet ActivePlayers = (All players controlled by a User player)
-
-------- --------
-
-------- GetEnumPlayer() is the Picked player --------
-
Player Group - Pick every player in ActivePlayers and do (Actions)
-
Loop - Actions
-
Set VariableSet PN = (Player number of (Picked player))
-
Custom script: if GetLocalPlayer() == GetEnumPlayer() then
-
Set VariableSet effectString = Abilities\Spells\Other\TalkToMe\TalkToMe
-
Custom script: else
-
Set VariableSet effectString = <Empty String>
-
Custom script: endif
-
Special Effect - Create a special effect attached to the overhead of Paladin 0000 <gen> using effectString
-
Set VariableSet quest_Sfx[PN] = (Last created special effect)
-
-
-
-
-
Destroy Sfx
-
Events
-
Player - Player 1 (Red) skips a cinematic sequence
-
Player - Player 2 (Blue) skips a cinematic sequence
-
Player - Player 3 (Teal) skips a cinematic sequence
-
Player - Player 4 (Purple) skips a cinematic sequence
-
-
Conditions
-
Actions
-
Set VariableSet PN = (Player number of (Triggering player))
-
Special Effect - Destroy quest_Sfx[PN]
-
-
Last edited: