|
Arma Reforger Script API
|
Public Member Functions | |
| bool | IsFlagged () |
| void | OnFlagRemoved (SCR_MineFlagPickUpAction action) |
| void | SetFlag (IEntity flag) |
| Call only on server! | |
Public Member Functions inherited from WeaponComponent | |
| proto external void | ActivateAttachments (bool active) |
| Set/Clear the active flags to all attachements on this weapon. | |
Public Member Functions inherited from BaseWeaponComponent | |
| proto external UIInfo | GetUIInfo () |
| proto external string | GetWeaponSlotType () |
| proto external EWeaponType | GetWeaponType () |
| proto external int | GetMuzzlesList (out notnull array< BaseMuzzleComponent > outMuzzles) |
| proto external ECanBeEquippedResult | CanBeEquipped (CharacterControllerComponent charController) |
| proto external BaseMuzzleComponent | GetCurrentMuzzle () |
| proto external bool | IsReloadPossible () |
| Returns whether current weapon is able to be reloaded or not. | |
| proto external bool | IsChamberingNecessary () |
| proto external bool | IsChamberingPossible () |
| proto external BaseMagazineComponent | GetCurrentMagazine () |
| proto external string | GetCurrentFireModeName () |
| proto external EWeaponFiremodeType | GetCurrentFireModeType () |
| proto external float | GetCurrentSightsZeroing () |
| proto external bool | GetCurrentSightsZeroingTransform (out vector outMat[4]) |
| proto external void | SightADSActivated () |
| proto external void | SightADSDeactivated () |
| proto external bool | IsSightADSActive () |
| proto external BaseSightsComponent | GetSights () |
| proto external BaseSightsComponent | GetAttachedSights () |
| proto external int | GetAttachments (out notnull array< AttachmentSlotComponent > outArray) |
| proto external BaseSightsComponent | GetSightsAt (int sightsIndex) |
| proto external bool | HasSightsAt (int sightsIndex) |
| proto external bool | CanSetSights (int sightsIndex) |
| proto external bool | CanSwitchToSights (int sightsIndex) |
| proto external int | FindAvailableSights () |
| proto external bool | SetSights (int sightsIndex) |
| proto external bool | SwitchNextSights () |
| proto external bool | SwitchPrevSights () |
| proto external bool | CanSwitchSights () |
| proto external IEntity | GetOwner () |
| proto external float | GetInitialProjectileSpeed () |
| proto external bool | HasBipod () |
| Returns true if weapon has a bipod available. | |
| proto external bool | GetBipod () |
| Returns true if weapon has bipod deployed. | |
| proto external void | SetBipod (bool deploy) |
| Changes state of bipod to deployed/undeployed depending on parameter. | |
| proto external void | SetDeploymentTriggerEffectEnabled (bool val) |
| Set deployment gamepad-trigger-effect enable/disable. | |
| void | OnWeaponActive () |
| void | OnWeaponInactive () |
Public Member Functions inherited from GameComponent | |
| bool | OnTicksOnRemoteProxy () |
Protected Member Functions | |
| bool | RplLoad (ScriptBitReader reader) |
| bool | RplSave (ScriptBitWriter writer) |
| void | OnFlagParentSlotChanged (InventoryStorageSlot oldSlot, InventoryStorageSlot newSlot) |
| void | RegisterToFlag (IEntity flag) |
| SCR_MineFlagPickUpAction | FindAction (IEntity flag) |
Protected Attributes | |
| IEntity | m_FlagEntity |
|
protected |
| bool SCR_MineWeaponComponent.IsFlagged | ( | ) |
|
protected |
| void SCR_MineWeaponComponent.OnFlagRemoved | ( | SCR_MineFlagPickUpAction | action | ) |
| [in] | action |
|
protected |
|
protected |
|
protected |
| void SCR_MineWeaponComponent.SetFlag | ( | IEntity | flag | ) |
Call only on server!
| [in] | flag |
|
protected |