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

Buff (visible/invisible)

Status
Not open for further replies.
Level 5
Joined
Jul 7, 2010
Messages
69
I'm making a target system that lets you add a target buff to an ally or enemy. How can you hide this buff and let you (only the caster player) be the only one to see the target buff? I need help.

In dota like the Alchemist's skill (concoction) when before he would throw his ability there is a buff (effect like) a circle on the ground that shows the range of the ability.... and it could only be seen by him... its so cool... how can i hide this buffs (or effects) and be only visible by me?
 
Last edited by a moderator:
Level 12
Joined
Feb 22, 2010
Messages
1,115
  • Untitled Trigger 001
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Wind Walk
    • Actions
      • Set StringVariable = Abilities\Spells\Orc\WarStomp\WarStompCaster.mdl
      • Custom script: if GetLocalPlayer() != GetOwningPlayer(GetTriggerUnit()) then
      • Set StringVariable = <Empty String>
      • Custom script: endif
      • Special Effect - Create a special effect attached to the origin of (Triggering unit) using StringVariable
      • Special Effect - Destroy (Last created special effect)
Only owner of caster will see this effect.(You can use GetTriggerPlayer instead of GetOwningPlayer(GetTriggerUnit()) nvm)
 
Level 7
Joined
Sep 5, 2006
Messages
333
if it is special effects, you can use dummy unit , make them invisble and revel only to caster
as for buffs, I have no idea (since buff can deal dmg etc, making it visble to only one player using local player would be impossible)
 
Status
Not open for further replies.
Top