• 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] How to Trigger an Unit Spinning Around Another Unit

Status
Not open for further replies.
This can be done without code but it requires editing a model.

To do it through trigger use a periodic trigger and increase the angle.

Example Note: this leaks.
  • Untitled Trigger 001
    • Events
      • Time - Every 0.10 seconds of game time
    • Conditions
    • Actions
      • Set tempReal = (tempReal + 1.00)
      • Unit - Move (Triggering unit) instantly to ((Center of (Playable map area)) offset by 256.00 towards tempReal degrees)
 
Status
Not open for further replies.
Top