- Joined
- Jun 21, 2007
- Messages
- 505
Hi, I'm making an FPS and I have a marine's model with no textures and materials that holds a minigun (as yet). The camera is put inside the invisible marine and does this:
What is wrong with the trigger? Please help!
-
Lock camera to unit
-
Events
-
Time - Every 0.01 seconds
-
-
Conditions
-
Actions
-
Custom script: set udg_HeroZ=GetLocationZ(udg_HeroPos)
-
Custom script: set udg_CameraZ=GetLocationZ(udg_CameraPos)
-
Camera - Set Height Offset for Player 1's camera to 120-CameraZ+HeroZ
-
-
Breathing
-
Events
-
Time - Every 0.06 seconds
-
-
Conditions
-
Actions
-
If Breathe_GoingUp Equal to True then do set Hero_HeightOffset = (Hero_HeightOffset + 1.00) else do if Breathe_GoingUp Equal to False then do set Hero_HeightOffset = (Hero_HeightOffset -1)
-
If Hero_HeightOffset Equal to -10.00 then do set Breathe_GoingUp Equal to True else do if Hero_HeightOffset Equal to 20.00 then do set Breathe_GoingUp Equal to False
-
Animation - Change Hero's flying height to 10+Hero_HeigthtOffset
-
What is wrong with the trigger? Please help!