• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[General] Skill with the object editor.

Status
Not open for further replies.
Level 7
Joined
Jul 17, 2018
Messages
185
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: 58
Level 29
Joined
Feb 18, 2014
Messages
3,583
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