WildTurkey
Previously known as giv_me_rep
- Reaction score
- 87
Hello hello again,
I have written the following trigger:
Unit Group - Pick each unit in (Any units in Collosi Boss Base owned by player 15 matching Excluded: Missile, Dead, Hidden, with at most Any Amount) and do (Actions)
Actions
General - For each integer HydraLoop from 1 to 18 with increment 1, do (Actions)
Actions
Unit - Create 1 Hydralisk Attack for player 15 at ((Position of (Picked unit)) offset by 1.0 towards (20.0 * HydraLoop) degrees) facing (20.0 * HydraLoop) degrees (No Options)
Unit - Order (Last created unit) to ( Attack targeting ((Position of (Picked unit)) offset by 0.0 towards (20.0 * HydraLoop) degrees)) (Replace Existing Orders)
Unit - Remove (Last created unit) from the game
how do i get this trigger to work correctly? the idea is that the spirals go out at 20 degrees from each other (18 in total making a 360 degree arc), at the moment they spawn and all just attack a nearby enemy. FYI using the default hydralisk settings with the weapon unit mover changed to ballistic
And more questions:
I made a trigger in a library i imported run a trigger that i added outside of the libraries, however when i try to save it has an error and says:
Script Failed to Compile:
TriggerExecute(gt_trigger1, true, false);
How can i fix this?
I have written the following trigger:
Unit Group - Pick each unit in (Any units in Collosi Boss Base owned by player 15 matching Excluded: Missile, Dead, Hidden, with at most Any Amount) and do (Actions)
Actions
General - For each integer HydraLoop from 1 to 18 with increment 1, do (Actions)
Actions
Unit - Create 1 Hydralisk Attack for player 15 at ((Position of (Picked unit)) offset by 1.0 towards (20.0 * HydraLoop) degrees) facing (20.0 * HydraLoop) degrees (No Options)
Unit - Order (Last created unit) to ( Attack targeting ((Position of (Picked unit)) offset by 0.0 towards (20.0 * HydraLoop) degrees)) (Replace Existing Orders)
Unit - Remove (Last created unit) from the game
how do i get this trigger to work correctly? the idea is that the spirals go out at 20 degrees from each other (18 in total making a 360 degree arc), at the moment they spawn and all just attack a nearby enemy. FYI using the default hydralisk settings with the weapon unit mover changed to ballistic
And more questions:
I made a trigger in a library i imported run a trigger that i added outside of the libraries, however when i try to save it has an error and says:
Script Failed to Compile:
TriggerExecute(gt_trigger1, true, false);
How can i fix this?