I still need a way to input integers into loops, but read my latest post for the latest update. Thanks.
So I have noticed that this can be very helpful for when making dummies for special effects and other stuff. However, I can't seem to figure out how to do these triggers accuratly.
Here is one of my attempts:
For each (Integer A) from 1 to 10, do (Actions)
Loop - Actions
Unit - Create 1 Peasant for (Owner of (Casting unit)) at (Position of (Casting unit)) facing Default building facing degrees
Custom script: set temp_dummy[(Integer A)] = (Last created unit)
Unit - Order (Last created unit) to Move To ((Position of (Casting unit)) offset by 500.00 towards (1.00 x 1.00) degrees)
Custom script: Order (Last created unit) to Move To ((Position of (Casting unit)) offset by 500.00 towards ([(Integer_A )] x 36.00) degrees)
I have unit variables temp_dummy(1-10) created.
This is one sort of haphazzardly thrown together to make a nova of peasants. Not a serious one, but I wouldn't know how to correct it or make a serious one.
Anyone know what I am doing wrong and generally what to keep in mind when making these things?
A lowly nub map-maker is very much obliged for any assistance.
So I have noticed that this can be very helpful for when making dummies for special effects and other stuff. However, I can't seem to figure out how to do these triggers accuratly.
Here is one of my attempts:
For each (Integer A) from 1 to 10, do (Actions)
Loop - Actions
Unit - Create 1 Peasant for (Owner of (Casting unit)) at (Position of (Casting unit)) facing Default building facing degrees
Custom script: set temp_dummy[(Integer A)] = (Last created unit)
Unit - Order (Last created unit) to Move To ((Position of (Casting unit)) offset by 500.00 towards (1.00 x 1.00) degrees)
Custom script: Order (Last created unit) to Move To ((Position of (Casting unit)) offset by 500.00 towards ([(Integer_A )] x 36.00) degrees)
I have unit variables temp_dummy(1-10) created.
This is one sort of haphazzardly thrown together to make a nova of peasants. Not a serious one, but I wouldn't know how to correct it or make a serious one.
Anyone know what I am doing wrong and generally what to keep in mind when making these things?
A lowly nub map-maker is very much obliged for any assistance.