• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[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