|
Arma Reforger Script API
|
Public Member Functions | |
| override void | EOnInit (IEntity owner) |
| void | ~SCR_VehiclePerceivableComponent () |
| void | OnDamageOverTimeAdded (EDamageType dType, float dps, HitZone hz) |
| void | OnDamageOverTimeRemoved (EDamageType dType, HitZone hz) |
Public Member Functions inherited from PerceivableComponent | |
| proto external EAIUnitType | GetUnitType () |
| proto external float | GetVisualRecognitionFactor () |
| Returns overall visual recognition factor. | |
| proto external float | GetIlluminationFactor () |
| Represents ambient light, dynamic lights, own lights. | |
| proto external float | GetAmbientLV () |
| Returns ambient light LV value (logarithmic). Can be used for diagnostics. | |
| proto external float | GetSoundPower () |
| Returns our sound emission power. | |
| proto external float | GetEstimatedVisualSize () |
| Returns estimated size in meters. Currently it's calculated based on physics or visual bounding box. | |
| proto external int | GetAimpoints (out notnull array< vector > outPoints) |
| Fills the provided array with the list of all aimpoints as locations in model space Returns the number of output elements. | |
| proto external int | GetAimpointsOfType (out notnull array< ref AimPoint > outPoints, EAimPointType type) |
| proto external bool | IsDisarmed () |
| Returns true when this perceivable is considered disarmed. | |
| proto external void | SetDisarmed (bool disarmed) |
| proto external CompartmentAccessComponent | GetCompartmentAccessComponent () |
| Compartment access component. | |
| proto external bool | IsInCompartment () |
| proto external FactionAffiliationComponent | GetFactionAffiliationComponent () |
| proto external void | SetPerceivedFactionOverride (Faction faction) |
| Overrides faction value used by PerceptionComponents (see GetPerceivedFaction). Null value removes this override. | |
| proto external Faction | GetPerceivedFactionOverride () |
| Returns value set by SetPerceivedFactionOverride() | |
| proto external Faction | GetPerceivedFaction () |
| Returns value set by SetPerceivedFactionOverride if it is not null. | |
Public Member Functions inherited from GameComponent | |
| bool | OnTicksOnRemoteProxy () |
Protected Attributes | |
| SCR_DamageManagerComponent | m_DamageMgr |
| void SCR_VehiclePerceivableComponent.~SCR_VehiclePerceivableComponent | ( | ) |
| override void SCR_VehiclePerceivableComponent.EOnInit | ( | IEntity | owner | ) |
Implements PerceivableComponent.
| void SCR_VehiclePerceivableComponent.OnDamageOverTimeAdded | ( | EDamageType | dType, |
| float | dps, | ||
| HitZone | hz ) |
| [in] | dType | |
| [in] | dps | |
| [in] | hz |
| void SCR_VehiclePerceivableComponent.OnDamageOverTimeRemoved | ( | EDamageType | dType, |
| HitZone | hz ) |
| [in] | dType | |
| [in] | hz |
|
protected |