Hi, How to - zoom if one player writes -zoom with a number :
EG : -zoom 1300 ----> set the camera distance to 2000
I want do a trigger with numbers between 1 and 1337 and it would set the camera distance automatically at the right distance.
I did this trigger but it seems not working
ZoomInteger = Integer variable ( thanks captain obvious) xD
EG : -zoom 1300 ----> set the camera distance to 2000
I want do a trigger with numbers between 1 and 1337 and it would set the camera distance automatically at the right distance.
I did this trigger but it seems not working
-
zoom trigger
-
Event
-
Conditions
-
Actions
-
Set ZoomInteger = (Integer((Random real number between 1.00 and 1400.00)))
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
ZoomInteger Less or Equal to 1400
-
-
Then - Actions
-
Camera - Set Joueur 1 (Red)'s camera Distance target to (Real(Zoom2)) over 0.00 seconds
-
-
Else - Actions
-
Do nothing
-
-
-
-
ZoomInteger = Integer variable ( thanks captain obvious) xD