Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_DebugCameraEntity.c
Go to the documentation of this file.
1
[
EntityEditorProps
(
category
:
"GameScripted/Camera"
, description:
"Manual camera"
, color:
"0 255 255 255"
)]
2
class
SCR_DebugCameraEntityClass
:
SCR_CameraBaseClass
3
{
4
}
5
7
class
SCR_DebugCameraEntity
:
GenericEntity
8
{
9
//------------------------------------------------------------------------------------------------
10
protected
void
CreateDebugCamera
()
11
{
12
SCR_DebugCameraCore
core =
SCR_DebugCameraCore
.Cast(
SCR_DebugCameraCore
.GetInstance(
SCR_DebugCameraCore
));
13
if
(!core)
14
{
15
Print(
"Config SCR_DebugCameraCore not found!"
, LogLevel.WARNING);
16
return
;
17
}
18
19
vector transform[4];
20
GetWorldTransform(transform);
21
core.CreateCamera(transform);
22
}
23
24
//------------------------------------------------------------------------------------------------
28
void
SCR_DebugCameraEntity
(IEntitySource src, IEntity parent)
29
{
30
GetGame
().GetCallqueue().CallLater(
CreateDebugCamera
, 1);
//--- Make sure it's called after OnGameStart
31
}
32
}
SCR_DebugCameraEntity
void SCR_DebugCameraEntity(IEntitySource src, IEntity parent)
Definition:
SCR_DebugCameraEntity.c:28
EntityEditorProps
enum EQueryType EntityEditorProps(category:"GameScripted/Sound", description:"THIS IS THE SCRIPT DESCRIPTION.", color:"0 0 255 255")
Definition:
SCR_AmbientSoundsComponent.c:12
CreateDebugCamera
SCR_DebugCameraEntityClass SCR_CameraBaseClass CreateDebugCamera()
Debug camera spawned on given position.
Definition:
SCR_DebugCameraEntity.c:10
GetGame
ArmaReforgerScripted GetGame()
Definition:
game.c:1424
SCR_CameraBaseClass
Definition:
SCR_CameraBase.c:2
GenericEntity
SCR_GenericBoxEntityClass GenericEntity
SCR_DebugCameraCore
Debug manual camera.
Definition:
SCR_DebugCameraCore.c:5
SCR_DebugCameraEntityClass
Definition:
SCR_DebugCameraEntity.c:2
category
params category
Definition:
SCR_VehicleDamageManagerComponent.c:180
scripts_Arma_Reforger_v1.1.0.42
scripts
Game
Camera
SCR_DebugCameraEntity.c
Generated by
1.8.17