• 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] Realistic Plane System

Status
Not open for further replies.
Level 20
Joined
May 26, 2006
Messages
653
Planes suppose to make circles instead of doing standing. I made a simple system ,planes are sliding units, but it has a bug .

System
trigger 1
action evry 1 sec
---
Unit Group - Pick every unit in Planestoslide and do (If ((Current order of (Triggering unit)) is not (Order(move))) then do (Unit - Move (Picked unit) instantly to ((Position of (Picked unit)) offset by 1.00 towards 45.00 degrees)) else do (Do nothing))

trigger 2
Units gets order
---
Unit Group - Remove (Triggering unit) from Planestoslide

trigger 3
evry 1 sec

Unit group - Pick every unit in Planes and do (If ((Current order of (Picked unit)) is not (Order(move))) then do (Unit group- Add (Picked unit) to Planestoslide) else do (Do nothing))

-------------
Bug: It removes unit from Slide Group with proper order only for like 1 sec.
Can any1 help me ?
 

Attachments

  • proto-planesys.w3x
    13.3 KB · Views: 69
Last edited:
Status
Not open for further replies.
Top