|
Arma Reforger Script API
|
Public Member Functions | |
| override void | ToggleLight (bool turnOn, bool skipTransition=false, bool playSound=true) |
| void | TurnOn () |
| void | TurnOff () |
| override bool | RplLoad (ScriptBitReader reader) |
| override void | OnDelete (IEntity owner) |
Public Member Functions inherited from SCR_BaseInteractiveLightComponent | |
| bool | GetInitialState () |
| bool | IsOn () |
| override void | EOnVisible (IEntity owner, int frameNumber) |
| override bool | RplSave (ScriptBitWriter writer) |
| override void | OnPostInit (IEntity owner) |
| void | RemoveLights () |
Public Member Functions inherited from SCR_BaseLightComponent | |
| LightEntity | CreateLight (SCR_BaseLightData lightData, vector position, vector direction, float emissivity) |
Protected Attributes | |
| SCR_BaseInteractiveLightComponentClass | m_ComponentData |
Protected Attributes inherited from SCR_BaseInteractiveLightComponent | |
| ref array< LightEntity > | m_aLights |
| ParametricMaterialInstanceComponent | m_EmissiveMaterialComponent |
| float | m_fCurLV |
| float | m_fCurEM |
| float | m_fLightEmisivityStep |
| bool | m_bIsOn |
Additional Inherited Members | |
Protected Member Functions inherited from SCR_BaseInteractiveLightComponent | |
| void | TurnOn (notnull SCR_BaseInteractiveLightComponentClass componentData, bool skipTransition, bool playSound) |
| void | TurnOff (notnull SCR_BaseInteractiveLightComponentClass componentData, bool playSound) |
Static Protected Attributes inherited from SCR_BaseInteractiveLightComponent | |
| const static float | MATERIAL_EMISSIVITY_STEP = 0.1 |
| const static int | MATERIAL_EMISSIVITY_ON = 30 |
| const static float | LIGHT_EMISSIVITY_START = 0.1 |
| const static int | MATERIAL_EMISSIVITY_START = 1 |
| const static int | LIGHT_EMISSIVITY_OFF = 0 |
| const static int | UPDATE_LIGHT_TIME = 100 |
| override void SCR_LampComponent.OnDelete | ( | IEntity | owner | ) |
Implements SCR_BaseInteractiveLightComponent.
| override bool SCR_LampComponent.RplLoad | ( | ScriptBitReader | reader | ) |
Implements SCR_BaseInteractiveLightComponent.
| override void SCR_LampComponent.ToggleLight | ( | bool | turnOn, |
| bool | skipTransition = false, | ||
| bool | playSound = true ) |
| [in] | turnOn | |
| [in] | skipTransition | |
| [in] | playSound |
Implements SCR_BaseInteractiveLightComponent.
| void SCR_LampComponent.TurnOff | ( | ) |
| void SCR_LampComponent.TurnOn | ( | ) |
|
protected |