[trigger=]
Untitled Trigger 001
Events
Player - Player 1 (Red) types a chat message containing 0 as An exact match
Conditions
Actions
Set TileWidth = 32.00
Set HorzWidth = 32.00
Set VertWidth = (1.00 x TileWidth)
Set Columns = 8
Set Rows = 8
Set StartVariaton = 1
Set NumVariations = 4
Set StartPoint = (Position of Temp_Unit_1)
For each (Integer RowInt) from 1 to (Rows - 1), do (Actions)
Loop - Actions
Set VarInt = ((StartVariaton + RowInt) mod NumVariations)
For each (Integer ColInt) from 0 to (Columns - 1), do (Actions)
Loop - Actions
Set TP = (StartPoint offset by ((HorzWidth x (Real(ColInt))), (VertWidth x (Real(RowInt)))))
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
VarInt Equal to 1
Then - Actions
Image - Create an image using Textures\white.blp of size 32.00 at TP with Z offset 0.00 using image type Ubersplat
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
VarInt Equal to 2
Then - Actions
Image - Create an image using Textures\Black32.blp of size 32.00 at TP with Z offset 0.00 using image type Ubersplat
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
VarInt Equal to 3
Then - Actions
Image - Create an image using Textures\white.blp of size 32.00 at TP with Z offset 0.00 using image type Ubersplat
Image - Change the color of (Last created image) to (0.00%, 100.00%, 0.00%) with 0.00% transparency
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
VarInt Equal to 4
Then - Actions
Image - Create an image using Textures\white.blp of size 32.00 at TP with Z offset 0.00 using image type Ubersplat
Image - Change the color of (Last created image) to (78.00%, 42.00%, 4.00%) with 0.00% transparency
Else - Actions
Image - Change (Last created image): Enable render always state
Set VarInt = ((VarInt + 1) mod NumVariations)
[/trigger]