- Joined
- Jul 14, 2014
- Messages
- 115
You see, I have this issue with my triggers. I have two triggers :
These are initially off. But every time I write /cams a window shows up asking which cam you want(you can change it).
Here are da triggas :
Basically my problem is that I type /cams and it shows the dialog and I can select everything but if select 3rd person cam it will work but when i change it to normal cam it doesn't work and starts lagging really bad. typing /cams and selecting 3rd person fixes the lag.
BTW that map is SP.
PLZZZ HELP MMEEE
-
FollowCam
-
Events
- Time - Every 0.10 seconds of game time
- Conditions
-
Actions
- Set Location = (Position of (Random unit from (Units of type Fisherman)))
- Custom script: set udg_Height = GetLocationZ(udg_Location)
- Camara - Lock camera target for Player 2 (Blue) to (Random unit from (Units of type Fisherman)), offset by (0.00, 0.00) using Default rotation
- Camera - Player 2 (Blue)'s camera Distance to target to 300.00 over 0.10 seconds
- Camera - Set Player 2 (Blue)'s camera Angle of attack to 330.00 over 0.10 seconds
- Camera - Set Player 2 (Blue)'s camera Height offset to (Height(variable) + 100.00) over 0.10 seconds
- Camera - Set Player 2 (Blue)'s camera Rotation to (Facing of (Random unit from (Units of type Fisherman))) over 0.10 seconds
- Custom script: call RemoveLocation(udg_Location)
-
Events
-
FollowCam2
-
Events
- Time - Every 0.02 seconds of game time
- Conditions
-
Actions
- Camera - Lock camera target for Player 2 (Blue) to (Random unit from (Units of type Fisherman)), offset by (0.00, 0.00) using Default rotation
- Camera - Set Player 2 (Blue)'s camera Rotation to (Facing of (Random unit from (Units of type Fisherman))) over 0.10 seconds
-
Events
These are initially off. But every time I write /cams a window shows up asking which cam you want(you can change it).
Here are da triggas :
-
CameraChoose
- Events
- Conditions
-
Actions
- Dialog - Clear CamChoose
- Dialog - Change the title of CamChoose to Choose your camera
- Dialog - Create a dialog button for CamChoose labelled Normal Camera
- Set CamChoose_Normal(variable) = (Last created dialog Button)
- Dialog - Create a dialog button for CamChoose labelled 3rd person camera
- Set CamChoose_3rdP(variable) = (Last created dialog Button)
- Dialog - Show CamChoose for Player 2 (Blue)
-
CameraChooseButton
-
Events
- Dialog - A dialog button is clicked for CamChoose
- Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Clicked dialog button) Equals CamChoose_Normal
-
Then - Actions
- Trigger - Turn off FollowCam <gen>
- Set ChosenCam = FollowCam2 <gen>
- Trigger - Turn on FollowCam2 <gen>
- Dialog - Hide CamChoose for Player 2 (Blue)
- Quest - Display to (All players) the Tip message: You may change your...
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditons
- (Clicked dialog button) Equals CamChoose_3rdP
-
Then - Actions
- Trigger - Turn off FollowCam2 <gen>
- Set ChosenCam = FollowCam <gen>
- Trigger - Turn on FollowCam <gen>
- Dialog - Hide CamChoose for Player 2 (Blue)
- Quest - Display to (All players) the Tip message: You may change your...
- Else - Actions
-
If - Conditons
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events
-
Command1
-
Events
- Player - Player 2 (Blue) types a chat message containing /CAMS
- Conditions
-
Actions
- Trigger - Run CameraChoose <gen> (ignoring conditions)
-
Events
Basically my problem is that I type /cams and it shows the dialog and I can select everything but if select 3rd person cam it will work but when i change it to normal cam it doesn't work and starts lagging really bad. typing /cams and selecting 3rd person fixes the lag.
BTW that map is SP.
PLZZZ HELP MMEEE