• 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] Need help with unit cast spell when flew to a building

Status
Not open for further replies.
Level 4
Joined
Mar 12, 2008
Messages
89
hello, I have medivh ..which fly when I research Mystery and he fly to a building , which researched it, but I wanna when he is near that building to cast spell Medivh - Human form
  • Events
  • Unit - A unit Finishes research
  • Conditions
  • (Researched tech-type) Equal to Mystery
  • Actions
  • Unit - Create 1 Medivh for (Owner of (Researching unit)) at (Center of Medivh spawn <gen>) facing Default building facing (270.0) degrees
  • Set Medivh = (Last created unit)
  • Unit - Order Medivh to Special Medivh - Raven Form
  • Wait 2.00 seconds
  • Unit - Order Medivh to Right-Click (Researching unit)
  • and this what I don´t know ... and after
  • Unit - Order Medivh to Special Medivh - Human Form
 
Level 4
Joined
Mar 12, 2008
Messages
89
he casted raven form on him and flew to that building and I need when he is near the building to change him back to human form
 
Status
Not open for further replies.
Top