Hi. I use this trigger to fill map with blocks:
I want to create less than 79*79=6241 destructibles. It should fill almost entire map!
I use NewGen.
-
Trigger
-

Events
-


Map Initialization
-
-

Conditions
-

Actions
-


For Each (Integer B) from 0 to 78. do (Actions)
-



Loop - Actions
-




For Each (Integer A) from 0 to 78. do (Actions)
-





Loop - Actions
-






Set Random100 = (Random integer number between 1 and 100)
-






If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-







If - Conditions
-








Random100 Greater than 20
-
-







Then - Actions
-








Set StartX = ((Min X of (Playable map area)) + 384.00)
-








Set StartY = ((Min Y of (Playable map area)) + 384.00)
-








Set Temp_Point = (Point((StartX + ((Real((Integer A))) x 128.00)), (StartY + ((Real((Integer B))) x 128.00))))
-








Destructible - Create a Stone at Temp_Point facing 0.00 with scale 1.70 and variation 0
-








Custom Script: call RemoveLocation (udg_Temp_Point)
-
-







Else - Actions
-
-
-
-
-
-
-
I want to create less than 79*79=6241 destructibles. It should fill almost entire map!
I use NewGen.



