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

Spells casted through Triggers.

Status
Not open for further replies.
Level 5
Joined
Sep 11, 2004
Messages
73
My question is: How can i make a unit, cast a custom ability upon a point, or a unit, when entering a region.

My example is:



(players are stationary and summon monsters vs each other, > and < represent the way each player is facing, Player 1 and 2 are just examples.


Plyaer 1 > <Player 2


For example: When player 1 summons a monster which has, say, a custom ability based off of Silence. I'd like to make it so that player interaction can be focused more on the strategy of summoning monsters and defeating their opponent, then performing extra actions.

So when the monster is summoned on the player 1 side, and starts to travel to attack Player 2, i have a region in the center that will check the unit type and then this is where i get stumped. This is where i need it to cast the units ability either upon the player 2 region, or upon player 2. However i can't find a trigger that allows you to do that for custom abilities, only basic hero ones.

I hope i've explained this well enough, tried to go into as much detail as possible. If anyone knows of how to do this, i'd greatly appreciate it.

Thanks, -Xsilver07
 
Level 9
Joined
Jun 18, 2004
Messages
565
The order strings that are shown represent all the abilities. They just use the Standard names to easily identify them. Lets say your spell is based off "Charm" you'd use...

  • Unit - Order (Entering Unit) to Neutral Dark Ranger - Charm (Whatever Unit)
 
Status
Not open for further replies.
Top