Sniper Mode
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Sniper Mode
Lvl10SniperOff[(Player number of (Owner of (Casting unit)))] Equal to True
Actions
Unit - Order (Casting unit) to Stop
Set Lvl10SniperOff[(Player number of (Owner of (Casting unit)))] = False
Set Lvl10CameraDist[(Player number of (Owner of (Casting unit)))] = True
Camera - Set (Owner of (Casting unit))'s camera Distance to target to 0.00 over 0.35 seconds
Camera - Set (Owner of (Casting unit))'s camera Angle of attack to 360.00 over 0.60 seconds
Camera - Set (Owner of (Casting unit))'s camera Rotation to (Facing of (Casting unit)) over 0.60 seconds
Camera - Pan camera for (Owner of (Casting unit)) to ((Position of (Casting unit)) offset by 192.00 towards (Facing of (Casting unit)) degrees) over 0.00 seconds
Unit - Add Snipe to (Casting unit)
Unit - Add Stop Sniping to (Casting unit)
Sniper Camera
Events
Time - Every 0.20 seconds of game time
Conditions
Level Equal to 10
Actions
For each (Integer A) from 1 to 8, do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Lvl10SniperOff[(Integer A)] Equal to False
Then - Actions
Camera - Set (Player((Integer A)))'s camera Distance to target to 0.00 over 0.60 seconds
Camera - Set (Player((Integer A)))'s camera Angle of attack to 360.00 over 0.60 seconds
Camera - Set (Player((Integer A)))'s camera Rotation to (Facing of (Random unit from (Units owned by (Player((Integer A))) of type Solid Snake))) over 0.60 seconds
Camera - Pan camera for (Player((Integer A))) to ((Position of (Random unit from (Units owned by (Player((Integer A))) of type Solid Snake))) offset by 192.00 towards (Facing of (Random unit from (Units owned by (Player((Integer A))) of type Solid Snake))) degrees) over 0.00 seconds
Else - Actions