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

[Trigger] Making an ability only castable near Unit-Type and Player Owned?

Status
Not open for further replies.
Level 6
Joined
Apr 23, 2009
Messages
94
  • Untitled Trigger 014
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
      • ((Ability being cast) Equal to Pick Up ) and (((Target point of ability being cast) is visible to (Owner of (Casting unit))) Equal to True)
    • Actions
      • Unit - Move (Casting unit) instantly to (Target point of ability being cast), facing Default building facing degrees
      • Special Effect - Create a special effect attached to the overhead of (Casting unit) using Abilities\Spells\Other\Charm\CharmTarget.mdl
      • Unit - Pause (Casting unit)
      • Wait 3.00 seconds
      • Unit - Unpause (Casting unit)
But i need to make certain player owned areas visable, so is there a way to make a spell only castable near certain Player Owned Units?
 
Status
Not open for further replies.
Top