- Joined
- Jun 26, 2020
- Messages
- 1,971
I made a triggers to change the attack angle of the camera
What's wrong?
-
Subir camara
-

Events
-


Unit - A unit Issues an order with no target
-
-

Conditions
-


(Unit-type of (Ordered unit)) Equal to Circle of power
-


((Issued order) Equal to (Order(manashieldon))) or ((Issued order) Equal to (Order(manashieldoff)))
-
-

Actions
-


Game - Display to (All players) the text: (String((Attack angle of the current camera view)))
-


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



Loop - Actions
-




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





If - Conditions
-






(Ordered unit) Equal to Circle[(Integer A)]
-
-





Then - Actions
-






Set Angulo_de_camara[(Integer A)] = ((Attack angle of the current camera view) - 5.00)
-






Camera - Set (Owner of (Ordered unit))'s camera Attack angle to Angulo_de_camara[(Integer A)] over 0.10 seconds
-
-





Else - Actions
-
-
-
-
-
-
Bajar camara
-

Events
-


Unit - A unit Issues an order with no target
-
-

Conditions
-


(Unit-type of (Ordered unit)) Equal to Circle of power
-


((Issued order) Equal to (Order(inmmolation))) or ((Issued order) Equal to (Order(uninmmolation)))
-
-

Actions
-


Game - Display to (All players) the text: (String((Attack angle of the current camera view)))
-


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



Loop - Actions
-




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





If - Conditions
-






(Ordered unit) Equal to Circle[(Integer A)]
-
-





Then - Actions
-






Set Angulo_de_camara[(Integer A)] = ((Attack angle of the current camera view) + 5.00)
-






Camera - Set (Owner of (Ordered unit))'s camera Attack angle to Angulo_de_camara[(Integer A)] over 0.10 seconds
-
-





Else - Actions
-
-
-
-
-
What's wrong?


