keychup
Active Member
- Reaction score
- 34
How do I make a special effect visible only to the allies of the caster and not to the enemies?
if GetLocalPlayer() == GetTriggerPlayer() then
...do actions here...
endif
set Temp_String = "Abilities\\Spells\\Orc\\HealingWave\\HealingWaveTarget.mdl"
Custom script: if GetLocalPlayer() == GetOwningPlayer(GetTriggerUnit()[COLOR="#FF0000"])[/COLOR] then
Custom script: call AddSpecialEffectTargetUnitBJ( "origin", GetEnumUnit(), [COLOR="#FF0000"]udg_Temp_String[/COLOR] )
Custom script: endif