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

A Spell Problem

Status
Not open for further replies.
Level 24
Joined
May 20, 2007
Messages
3,283
I have a spell based on Dark Conversion
And If I cast on the enemy i want to steal him.How could i do that
Here is my triggering
  • Steal Mind
    • Event:
    • Unit-Starts the effect of an ability
    • Conditions
    • Ability equal to Steal Mind
    • Actions:
    • Wait 5 seconds
    • Unit-Add Charm to target of ability being cast
Or I tryed
  • Steal Mind
    • Unit-Change ownership of target of ability being cast to owner of ability being cast
Please help me on this one
 
Level 21
Joined
Aug 21, 2005
Messages
3,699
k, then make a dummy unit with charm...

Then make a trigger like this:
  • Events
    • Unit - a unit starts the effect of an ability
  • Conditions
    • Boolean - Owner of triggering unit (or whatever unit is needed) is an enemy of casting unit equal to true
  • Actions
    • Unit - create a dummy
    • Unit - issue an order targetting a unit - order last created unit to charm targetted unit of ability
    • Unit - add a 2 seconds expiration timer to last created unit
 
Level 18
Joined
Aug 13, 2007
Messages
1,584
k, then make a dummy unit with charm...

Then make a trigger like this:
  • Events
    • Unit - a unit starts the effect of an ability
  • Conditions
    • Boolean - Owner of triggering unit (or whatever unit is needed) is an enemy of casting unit equal to true
  • Actions
    • Unit - create a dummy
    • Unit - issue an order targetting a unit - order last created unit to charm targetted unit of ability
    • Unit - add a 2 seconds expiration timer to last created unit
About the last action... cant we just wait 0.01 seconds and remove the last created unit?
 
Status
Not open for further replies.
Top