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

[General] Skill with the object editor.

Status
Not open for further replies.
Level 8
Joined
Jul 17, 2018
Messages
217
Hello everyone, I am trying to make a skill for a main building...it consists of invoking a sun above the building and attacking the enemy within its area...but I am doing it with the object editor, the sun does rise above the building...but it doesn't come out in the center...it goes out to the side...do you know how to get it to be located in the center? Or is there another skill that works better?

Please help
 

Attachments

  • IMG.png
    IMG.png
    1.1 MB · Views: 61
Level 30
Joined
Feb 18, 2014
Messages
3,624
Just turn off its collision and move it to the center of the building.
  • Test
    • Events
      • Unit - A unit Spawns a summoned unit
    • Conditions
      • (Unit-type of (Summoned unit)) Equal to Sun
    • Actions
      • Unit - Turn collision for (Summoned unit) Off
      • Set Point = (Position of (Summoning unit))
      • Unit - Move (Summoned unit) instantly to Point
      • Custom script: call RemoveLocation (udg_Point)
 
Status
Not open for further replies.
Top