could it cause desync? (keep in mind it picks 250 units, adds an integer number and remembers their location)
is there a way to improve it?
thx
is there a way to improve it?
thx
-
Prin
-
Acontecimientos
- Map initialization
- Condiciones
-
Acciones
- Set lex = (Units of type Tauren)
-
Grupo de unidad - Pick every unit in lex and do (Actions)
-
Bucle: Acciones
- Set Integro = (Integro + 1)
- Unidad - Set the custom value of (Picked unit) to Integro
- Custom script: set udg_Creep_X[udg_Integro] = GetUnitX(GetEnumUnit())
- Custom script: set udg_Creep_Y[udg_Integro] = GetUnitY(GetEnumUnit())
-
Bucle: Acciones
- Custom script: call DestroyGroup(udg_lex)
-
Acontecimientos
-
ReviveCreep
-
Acontecimientos
- Unidad - A unit owned by Neutral hostil Muere
-
Condiciones
- (Unit-type of (Triggering unit)) Igual a Tauren
-
Acciones
- Wait 17.00 seconds
- Set point[1] = (Center of (Entire map))
- Set point[2] = (point[1] offset by (Creep_X[(Custom value of (Triggering unit))], Creep_Y[(Custom value of (Triggering unit))]))
- Unidad - Create 1 Tauren for Neutral hostil at point[2] facing Vista edificio predeterminada degrees
- Unidad - Set the custom value of (Last created unit) to (Custom value of (Triggering unit))
- Custom script: call RemoveLocation(udg_point[1])
- Custom script: call RemoveLocation(udg_point[2])
-
Acontecimientos