Zoom

Events


Player - Player 1 (Red) types a chat message containing -zoom as A substring


Player - Player 2 (Blue) types a chat message containing -zoom as A substring


Player - Player 3 (Teal) types a chat message containing -zoom as A substring


Player - Player 4 (Purple) types a chat message containing -zoom as A substring


Player - Player 5 (Yellow) types a chat message containing -zoom as A substring


Player - Player 6 (Orange) types a chat message containing -zoom as A substring

Conditions

Actions


Set Real[1] = (Real((Substring((Entered chat string), 7, (Length of (Entered chat string))))))


Camera - Set (Triggering player)'s camera Distance to target to Real[1] over 0.00 seconds


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



If - Conditions




Real[1] Less than 1200.00



Then - Actions




-------- The minimum value is 1200.Change "1200" if you want the minimum value become lower --------




Camera - Set (Triggering player)'s camera Distance to target to 1200.00 over 0.00 seconds




Game - Display to (All players) the text: The minimum distanc...



Else - Actions


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



If - Conditions




Real[1] Greater than 3600.00



Then - Actions




-------- The Maximum value is 3600 .Change "3600" if you want the maximum value become higher. --------




Camera - Set (Triggering player)'s camera Distance to target to 3600.00 over 0.00 seconds




Game - Display to (All players) the text: The maximum value i...



Else - Actions
Change Angle

Events


Player - Player 1 (Red) types a chat message containing -angle as A substring


Player - Player 2 (Blue) types a chat message containing -angle as A substring


Player - Player 3 (Teal) types a chat message containing -angle as A substring


Player - Player 4 (Purple) types a chat message containing -angle as A substring


Player - Player 5 (Yellow) types a chat message containing -angle as A substring


Player - Player 6 (Orange) types a chat message containing -angle as A substring

Conditions

Actions


Set Real[2] = (Real((Substring((Entered chat string), 8, (Length of (Entered chat string))))))


Camera - Set (Triggering player)'s camera Angle of attack to Real[2] over 0.00 seconds


-------- Angle 300 to 360 is front view. In other word is 0 degree to 90 degree after 90 degree will upside down. --------


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



If - Conditions




Real[2] Less than 300.00



Then - Actions




-------- 300 is the normal angle . Delete this if you don want. --------




Camera - Set (Triggering player)'s camera Angle of attack to 300.00 over 0.00 seconds




Game - Display to (Player group((Triggering player))) the text: You can only change...



Else - Actions


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



If - Conditions




Real[2] Greater than 360.00



Then - Actions




Camera - Set (Triggering player)'s camera Angle of attack to 360.00 over 0.00 seconds




Game - Display to (Player group((Triggering player))) the text: You can only change...



Else - Actions
Rotation

Events


Player - Player 1 (Red) types a chat message containing -rotate as A substring


Player - Player 2 (Blue) types a chat message containing -rotate as A substring


Player - Player 3 (Teal) types a chat message containing -rotate as A substring


Player - Player 4 (Purple) types a chat message containing -rotate as A substring


Player - Player 5 (Yellow) types a chat message containing -rotate as A substring


Player - Player 6 (Orange) types a chat message containing -rotate as A substring

Conditions

Actions


-------- To change back the normal angle . Type -rotate 90 . --------


Set Real[3] = (Real((Substring((Entered chat string), 9, (Length of (Entered chat string))))))


Camera - Set (Triggering player)'s camera Rotation to Real[3] over 0.00 seconds


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



If - Conditions




Real[3] Less than 0.00



Then - Actions




Game - Display to (All players) the text: You can only rotate...




Camera - Set (Triggering player)'s camera Rotation to 0.00 over 0.00 seconds



Else - Actions


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



If - Conditions




Real[3] Greater than 360.00



Then - Actions




Game - Display to (All players) the text: You can only rotate...




Camera - Set (Triggering player)'s camera Rotation to 360.00 over 0.00 seconds



Else - Actions
AllRandom

Events


Player - Player 1 (Red) types a chat message containing -ar as An exact match


Player - Player 1 (Red) types a chat message containing -allrandom as An exact match

Conditions

Actions


For each (Integer A) from 1 to 6, do (Actions)



Loop - Actions




Selection - Select Heroes[Random] for (Player((Integer A)))




Selection - Select Heroes[Random] for (Player((Integer A)))
Movespeed

Events


Player - Player 1 (Red) types a chat message containing -ms as An exact match


Player - Player 2 (Blue) types a chat message containing -ms as An exact match


Player - Player 3 (Teal) types a chat message containing -ms as An exact match


Player - Player 4 (Purple) types a chat message containing -ms as An exact match


Player - Player 5 (Yellow) types a chat message containing -ms as An exact match


Player - Player 6 (Orange) types a chat message containing -ms as An exact match

Conditions

Actions


Set UnitGroup = (Units owned by (Triggering player) matching (((Matching unit) is A Hero) Equal to True))


Unit Group - Pick every unit in UnitGroup and do (Actions)



Loop - Actions




Game - Display to (Player group((Triggering player))) the text: (Colour[(Player number of (Owner of (Triggering unit)))] + (((Name of (Triggering unit)) + ColourEnd) + ( movement speed is + (String((Current movement speed of (Picked unit)), 4, 3)))))