- Joined
- Sep 27, 2011
- Messages
- 141
I have just purchased starcraft 2 and am trying to make a mapwith a third person camera. I cannot use lock camera mouse relative mode as this does not work with my other triggers and stop moved mouse event from working is there any way around this I tried this but it doesnt work any ideas anyone?
-
Rotation
-
Events
- UI - Player Any Player moves mouse.
-
Local Variables
- Temp_Int = 0 <Integer>
- Conditions
-
Actions
- Camera - Lock camera mouse relative mode Off for player Temp_Int
- Variable - Set Temp_Int = (Triggering player)
- Variable - Set Rotation = (Mouse_X[Temp_Int] - (Mouse X position in the UI))
-
General - If (Conditions) then do (Actions) else do (Actions)
-
If
- Rotation < 0
-
Then
- Unit - Make Player_Hero[Temp_Int] face ((Facing of Player_Hero[Temp_Int]) + 3.0) over 0.0 seconds
-
Else
- Unit - Make Player_Hero[Temp_Int] face ((Facing of Player_Hero[Temp_Int]) - 3.0) over 0.0 seconds
-
If
- Trigger - Turn (Current trigger) Off
- General - Wait 0.05 Game Time seconds
- Camera - Lock camera mouse relative mode On for player Temp_Int
- Trigger - Turn (Current trigger) On
-
Events