Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
CharacterCamera1stPersonFloat.c
Go to the documentation of this file.
1 // *************************************************************************************
2 // ! CharacterCamera1stPersonFloat - 1st person camera when floating
3 // *************************************************************************************
4 class CharacterCamera1stPersonFloat extends CharacterCamera1stPersonReady
5 {
6  //-----------------------------------------------------------------------------
7  void CharacterCamera1stPersonFloat(CameraHandlerComponent pCameraHandler)
8  {
9  m_bIgnoreCharacterPitch = true;
10  }
11 
12  //-----------------------------------------------------------------------------
13  override void OnUpdate(float pDt, out ScriptedCameraItemResult pOutResult)
14  {
15  pOutResult.m_fFOV = m_fFOV;
16 
17  super.OnUpdate(pDt, pOutResult);
18  }
19 };
OnUpdate
override void OnUpdate(BaseWorld world, float timeslice)
Definition: game.c:910
CharacterCamera1stPersonReady
Definition: CharacterCamera1stPersonFloat.c:4