Arma Reforger Script API
|
Inherits BaseUserAction.
Inherited by BaseLightUserAction, BurnUserAction, CompartmentUserAction, DoorUserAction, SCR_ActivateMineUserAction, SCR_AddTarget, SCR_CampaignBuildingDisassemblyUserAction, SCR_CampaignBuildingStartUserAction, SCR_CampaignDeployMobileAssemblyUserAction, SCR_CampaignGrabRadioUserAction, SCR_CampaignLoadSuppliesUserAction, SCR_CampaignLoadingSuppliesUserAction, SCR_CampaignReconfigureHQRadioUserAction, SCR_CampaignReconfigureRelayUserAction, SCR_CampaignRepairEntityUserAction, SCR_CampaignUnloadSuppliesUserAction, SCR_CampaignUnloadingSuppliesUserAction, SCR_CatalogSpawnerUserAction, SCR_DeployInventoryItemBaseAction, SCR_DismantleInventoryItemBaseAction, SCR_EnableDefendersAction, SCR_FastTravelAction, SCR_FlushToilet, SCR_HealingUserAction, SCR_InspectCasualtyUserAction, SCR_InventoryAction, SCR_LadderUserAction, SCR_LightFireplaceUserAction, SCR_MineAddFlagAction, SCR_PlayInstrument, SCR_RemoveTarget, SCR_ReplaceWheelUserAction, SCR_ResourceContainerStoreAction, SCR_ScriptedUserAction, SCR_SetTargetDistanceDownUserAction, SCR_SetTargetDistanceUpUserAction, SCR_SetTargetsModeUserAction, SCR_ShowDeployableSpawnPointInfo, SCR_SwitchFlashlightLensAction, SCR_SwitchLightUserAction, SCR_TestScriptedRadioMsgUserAction, SCR_ToggleDeployableSpawnPointLoadoutAction, SCR_TurretAssemblyAction, SCR_TurretPickUpItemAction, SCR_TutorialCourseSelectionUserAction, SCR_TutorialDeployMobileAssembly, SCR_TutorialOpenFastTravelInterface, SCR_TutorialReturnToMenuAction, SCR_UserActionWithOccupancy, SCR_VehicleActionBase, SCR_WeaponAction, SCR_WeaponLoadAction, ScriptedSignalUserAction, TestDragUserAction, TestPushUserAction, ThrowGrenadeAction, TurnOnUserAction, and VehicleDoorUserAction.
Public Member Functions | |
void | Init (IEntity pOwnerEntity, GenericComponent pManagerComponent) |
Called when object is initialized and registered to actions manager. | |
void | PerformAction (IEntity pOwnerEntity, IEntity pUserEntity) |
Called when someone tries to perform the action, user entity is typically character. | |
void | PerformContinuousAction (IEntity pOwnerEntity, IEntity pUserEntity, float timeSlice) |
Called when someone tries to perform the continuous action, user entity is typically character. | |
void | OnConfirmed (IEntity pUserEntity) |
If action passed as callback OnConfirmed will be called when reached execution, user entity is typically character. | |
void | OnRejected (IEntity pUserEntity) |
If action passed as callback OnRejected will be called when execution was rejected, user entity is typically character. | |
void | OnActionCanceled (IEntity pOwnerEntity, IEntity pUserEntity) |
Method called when the action is interrupted/canceled. | |
void | OnActionStart (IEntity pUserEntity) |
Method called from scripted interaction handler when an action is started (progress bar appeared) | |
bool | GetActionNameScript (out string outName) |
If overridden and true is returned, outName is returned when BaseUserAction.GetActionName is called. | |
bool | GetActionDescriptionScript (out string outName) |
If overridden and true is returned, outName is returned when BaseUserAction.GetActionDescription is called. | |
bool | CanBePerformedScript (IEntity user) |
Can this action be performed by the provided user entity? | |
bool | CanBeShownScript (IEntity user) |
Can this entity be shown in the UI by the provided user entity? | |
bool | HasLocalEffectOnlyScript () |
Does this action only have client side effect? | |
bool | CanBroadcastScript () |
If HasLocalEffectOnly() is false this method tells if the server is supposed to broadcast this action to clients. | |
float | GetActionProgressScript (float fProgress, float timeSlice) |
Returns the progress of this action in seconds. | |
Public Member Functions inherited from BaseUserAction | |
void | SetCannotPerformReason (string reason) |
Sets the reason why action couldn't be performed. | |
string | GetCannotPerformReason () |
Returns the reason why action couldn't be performed. | |
proto external int | GetContextIndex (string sContextName) |
Returns the index of the context this action is registered in as or -1 if none. | |
proto external void | SetActiveContext (UserActionContext context) |
Setter for m_pActiveContext. | |
proto external UserActionContext | GetActiveContext () |
Getter for m_pActiveContext. | |
proto external bool | CanBePerformed (IEntity user) |
Can this action be performed by the user? | |
proto external bool | CanBeShown (IEntity user) |
Can this action be shown in the UI for the user? | |
proto external bool | HasLocalEffectOnly () |
Does this action only have client side effect? | |
proto external bool | CanBroadcast () |
If HasLocalEffectOnly() is false this method tells if the server is supposed to broadcast this action to clients. | |
proto external bool | ShouldPerformPerFrame () |
Should this action be performed every frame the input action is triggered? | |
proto external string | GetActionName () |
Return the name of this action. | |
proto external string | GetActionDescription () |
Return the description of this action. | |
proto external float | GetVisibilityRange () |
Returns the visibility range of this action in metres. | |
proto external void | SetActionDuration (float duration) |
Sets the duration of this action in seconds. | |
proto external float | GetActionDuration () |
Returns the duration of this action in seconds. | |
proto external float | GetActionProgress (float fProgress, float timeSlice) |
Returns the progress of this action in seconds. | |
proto external bool | IsInProgress () |
Returns true while continuous or timed action is being used. | |
proto external UIInfo | GetUIInfo () |
Returns the UIInfo set for this user action or null if none. | |
proto external IEntity | GetOwner () |
Returns the parent entity of this action. | |
proto external bool | CanAggregate () |
Whether action can be aggregated by name, this is a temp workaround for localization. | |
proto external int | GetActionID () |
Returns the ID with which this action is registered in its parent ActionsManagerComponent. | |
proto external void | SetSendActionDataFlag () |
Used to ask to send action data again during continuous action. | |
proto external ActionsManagerComponent | GetActionsManager () |
Additional Inherited Members | |
Public Attributes inherited from BaseUserAction | |
string | ActionNameParams [9] |
Can be filled in scripts to be used as params when name is being formatted when displayed in UI. | |
Protected Member Functions inherited from BaseUserAction | |
bool | OnRplSave (ScriptBitWriter writer) |
bool | OnRplLoad (ScriptBitReader reader) |
bool | OnSaveActionData (ScriptBitWriter writer) |
Before performing the action the caller can store some data in it which is delivered to others. | |
bool | OnLoadActionData (ScriptBitReader reader) |
If the one performing the action packed some data in it everybody receiving the action. | |
void | OnActionSelected () |
Callback for when action is selected by the local player and the local player ONLY. | |
void | OnActionDeselected () |
Callback for when action is deselected by the local player and the local player ONLY. | |
Protected Attributes inherited from BaseUserAction | |
string | m_sCannotPerformReason |
The reason why action cannot be performed. | |
bool ScriptedUserAction.CanBePerformedScript | ( | IEntity | user | ) |
Can this action be performed by the provided user entity?
Implemented in SCR_LoiterUserAction, SCR_FastTravelAction, SCR_DeployableInventoryItemEquipClothAction, SCR_DeployableInventoryItemPickUpAction, SCR_DeployInventoryItemBaseAction, SCR_DeployInventoryItemRestrictedAction, SCR_DismantleInventoryItemBaseAction, SCR_ShowDeployableSpawnPointInfo, SCR_ResourceContainerStoreAction, SCR_ResourceContainerVehicleLoadAction, SCR_ResourceContainerVehicleUnloadAction, SCR_ResourceStorageOpenAction, SCR_AddTarget, SCR_RemoveTarget, SCR_SetTargetDistanceDownUserAction, SCR_SetTargetDistanceUpUserAction, SCR_ActivateMineUserAction, SCR_ArmExplosiveChargeWithRemoteFuzeAction, SCR_ArmExplosiveChargeWithTimedFuzeAction, SCR_AttachementAction, SCR_BaseFactionCheckUserAction, SCR_CampaignBuildingBuildUserAction, SCR_CampaignBuildingDisassemblyUserAction, SCR_CampaignBuildingStartUserAction, SCR_CampaignDeployMobileAssemblyUserAction, SCR_CampaignPackMobileAssemblyUserAction, SCR_CampaignReconfigureHQRadioUserAction, SCR_CampaignReconfigureRelayUserAction, SCR_CampaignRepairEntityUserAction, SCR_CatalogSpawnerUserAction, SCR_CloseVehicleDoorUserAction, SCR_RemoteDetonatorAction, SCR_DoorUserAction, SCR_EnableDefendersAction, SCR_EquipClothAction, SCR_EquipGadgetAction, SCR_EquipWeaponAction, SCR_EquipWeaponHolsterAction, SCR_ExplosiveChargeAction, SCR_FlushToilet, SCR_GetInUserAction, SCR_GetOutAction, SCR_InspectCasualtyUserAction, SCR_InventoryAction, SCR_JumpOutAction, SCR_LadderUserAction, SCR_LootDeadBodyAction, SCR_MorphineUserAction, SCR_OpenVehicleDoorUserAction, SCR_PickUpItemAction, SCR_RemoveCasualtyUserAction, SCR_ResourceEntityRefundAction, SCR_SalineBagUserAction, SCR_SaveArsenalLoadout, SCR_SwitchSeatAction, SCR_ToggleHandbrakeAction, SCR_TourniquetUserAction, SCR_TurnOnAction, SCR_TurretAssemblyAction, SCR_TurretGetInUserAction, SCR_TurretPickUpItemAction, SCR_TutorialCourseSelectionUserAction, SCR_TutorialDeployMobileAssembly, SCR_VehicleAction, SCR_VehicleActionBase, SCR_VehicleTakeControlsAction, SCR_WeaponAction, SCR_WeaponLoadAction, SCR_BaseUseSupportStationAction, SCR_CheckFuelAction, SCR_DrainFuelUserAction, SCR_HealSupportStationAction, SCR_RefuelAtSupportStationAction, SCR_RepairAtSupportStationAction, SCR_ResupplyOtherSupportStationAction, SCR_ResupplySelfSupportStationAction, SCR_BaseResupplySupportStationAction, TestDragUserAction, and LightUserAction.
bool ScriptedUserAction.CanBeShownScript | ( | IEntity | user | ) |
Can this entity be shown in the UI by the provided user entity?
Implemented in SCR_LoiterUserAction, SCR_DeployableInventoryItemEquipClothAction, SCR_DeployableInventoryItemPickUpAction, SCR_DeployInventoryItemAction, SCR_DeployInventoryItemBaseAction, SCR_DismantleInventoryItemBaseAction, SCR_OpenDeployableSpawnPointStorageAction, SCR_ShowDeployableSpawnPointInfo, SCR_ToggleDeployableSpawnPointLoadoutAction, SCR_ResourceContainerVehicleLoadAction, SCR_ResourceContainerVehicleUnloadAction, SCR_AddTarget, SCR_RemoveTarget, SCR_SetTargetDistanceDownUserAction, SCR_SetTargetDistanceUpUserAction, SCR_SetTargetsModeUserAction, SCR_DetachMagazineUserAction, SCR_FireModeSwitchUserAction, SCR_InspectionUserAction, SCR_RadioToggleUserAction, SCR_RadioTuningUserAction, SCR_ToggleSafetyUserAction, SCR_ActivateMineUserAction, SCR_AdjustSignalAction, SCR_AdjustTimedFuzeAction, SCR_ArmExplosiveChargeWithRemoteFuzeAction, SCR_ArmExplosiveChargeWithTimedFuzeAction, SCR_AttachementAction, SCR_AttachItemFromInventoryAction, SCR_BandageUserAction, SCR_CampaignBuildingBuildUserAction, SCR_CampaignBuildingDisassemblyUserAction, SCR_CampaignBuildingStartUserAction, SCR_CampaignDeployMobileAssemblyUserAction, SCR_CampaignPackMobileAssemblyUserAction, SCR_CampaignReconfigureHQRadioUserAction, SCR_CampaignReconfigureRelayUserAction, SCR_CampaignRepairEntityUserAction, SCR_CatalogSpawnerUserAction, SCR_ChangeComparmentAction, SCR_CloseVehicleDoorUserAction, SCR_RemoteDetonatorAction, SCR_DisarmExplosiveChargeAction, SCR_EnableDefendersAction, SCR_EngineAction, SCR_EquipWeaponAttachment, SCR_ExplosiveChargeAction, SCR_GetInUserAction, SCR_GetOutAction, SCR_HealingUserAction, SCR_HelicopterEngineAction, SCR_InspectCasualtyUserAction, SCR_InventoryAction, SCR_JumpOutAction, SCR_LadderUserAction, SCR_LightFireplaceUserAction, SCR_LoadCasualtySupportStationUserAction, SCR_LootDeadBodyAction, SCR_MineAddFlagAction, SCR_MineEquipWeaponAction, SCR_MineEquipHolsterAction, SCR_MinePickUpItemAction, SCR_OpenVehicleDoorUserAction, SCR_OpenVehicleStorageAction, SCR_PushVehicleAction, SCR_RemoveCasualtyUserAction, SCR_ResourceEntityRefundAction, SCR_SaveArsenalLoadout, SCR_ScriptedUserAction, SCR_SwitchFlashlightLensAction, SCR_SwitchLightUserAction, SCR_SwitchSeatAction, SCR_ToggleHandbrakeAction, SCR_TourniquetUserAction, SCR_TurretAssemblyAction, SCR_TurretGetInUserAction, SCR_TutorialBuildingStartUserAction, SCR_TutorialCourseSelectionUserAction, SCR_TutorialOpenFastTravelInterface, SCR_TutorialReturnToMenuAction, SCR_UnflipVehicleAction, SCR_VehicleActionBase, SCR_VehicleTakeControlsAction, SCR_WeaponAction, SCR_WeaponLoadAction, SCR_BaseUseSupportStationAction, SCR_CheckFuelAction, SCR_DrainFuelUserAction, SCR_HealSupportStationAction, SCR_RefuelAtSupportStationAction, SCR_RepairAtSupportStationAction, SCR_ResupplyOtherSupportStationAction, SCR_ResupplySelfSupportStationAction, SCR_BaseResupplySupportStationAction, and LightUserAction.
bool ScriptedUserAction.CanBroadcastScript | ( | ) |
If HasLocalEffectOnly() is false this method tells if the server is supposed to broadcast this action to clients.
Implemented in SCR_AdjustSignalAction, SCR_RemoteDetonatorAction, SCR_EngineAction, SCR_InspectCasualtyUserAction, SCR_PushVehicleAction, SCR_TurnOnAction, SCR_TutorialCourseSelectionUserAction, SCR_UnflipVehicleAction, SCR_BaseUseSupportStationAction, and LightUserAction.
bool ScriptedUserAction.GetActionDescriptionScript | ( | out string | outName | ) |
If overridden and true is returned, outName is returned when BaseUserAction.GetActionDescription is called.
If not overridden or false is returned the default value from UIInfo is taken (or empty string if no UI info exists)
bool ScriptedUserAction.GetActionNameScript | ( | out string | outName | ) |
If overridden and true is returned, outName is returned when BaseUserAction.GetActionName is called.
If not overridden or false is returned the default value from UIInfo is taken (or empty string if no UI info exists)
Implemented in SCR_LoiterUserAction, SCR_ResourceContainerStoreAction, SCR_ResourceContainerVehicleLoadAction, SCR_ResourceContainerVehicleUnloadAction, SCR_AddTarget, SCR_RemoveTarget, SCR_SetTargetDistanceDownUserAction, SCR_SetTargetDistanceUpUserAction, SCR_SetTargetsModeUserAction, SCR_DetachMagazineUserAction, SCR_RadioToggleUserAction, SCR_RadioTuningUserAction, SCR_ToggleSafetyUserAction, SCR_AdjustTimedFuzeAction, SCR_ArmExplosiveChargeWithRemoteFuzeAction, SCR_AttachementAction, SCR_AttachItemFromInventoryAction, SCR_CampaignBuildingBuildUserAction, SCR_CampaignBuildingStartUserAction, SCR_CampaignPackMobileAssemblyUserAction, SCR_CampaignRepairEntityUserAction, SCR_CatalogSpawnerUserAction, SCR_CloseVehicleDoorUserAction, SCR_RemoteDetonatorAction, SCR_DoorUserAction, SCR_EnableDefendersAction, SCR_EquipClothAction, SCR_EquipWeaponAction, SCR_EquipWeaponHolsterAction, SCR_ExplosiveChargeAction, SCR_FlushToilet, SCR_GetOutAction, SCR_InventoryAction, SCR_JumpOutAction, SCR_LightFireplaceUserAction, SCR_LightsDashboardUserAction, SCR_LightsHazardUserAction, SCR_LightsHiBeamsUserAction, SCR_LightsPresenceUserAction, SCR_LightsSearchLightUserAction, SCR_LightsTurnLeftUserAction, SCR_LightsTurnRightUserAction, SCR_OpenVehicleDoorUserAction, SCR_ResourceEntityRefundAction, SCR_SaveArsenalLoadout, SCR_SwitchLightUserAction, SCR_ToggleHandbrakeAction, SCR_TourniquetUserAction, SCR_TurnOnAction, SCR_TurretAssemblyAction, SCR_TutorialDeployMobileAssembly, SCR_TutorialReturnToMenuAction, SCR_UnflipVehicleAction, SCR_VehicleActionBase, SCR_WeaponAction, SCR_WeaponLoadAction, SCR_BaseUseSupportStationAction, SCR_DrainFuelUserAction, SCR_RepairAtSupportStationAction, TestDragUserAction, LightUserAction, and SCR_CompartmentUserAction.
float ScriptedUserAction.GetActionProgressScript | ( | float | fProgress, |
float | timeSlice | ||
) |
Returns the progress of this action in seconds.
Implemented in ScriptedSignalUserAction, SCR_AdjustSignalAction, SCR_AdjustTimedFuzeAction, SCR_PushVehicleAction, SCR_ScriptedUserAction, and SCR_UnflipVehicleAction.
bool ScriptedUserAction.HasLocalEffectOnlyScript | ( | ) |
Does this action only have client side effect?
Implemented in SCR_LoiterUserAction, SCR_FastTravelAction, SCR_AddTarget, SCR_RemoveTarget, SCR_SetTargetDistanceDownUserAction, SCR_SetTargetDistanceUpUserAction, SCR_SetTargetsModeUserAction, SCR_RadioToggleUserAction, SCR_RadioTuningUserAction, SCR_AdjustSignalAction, SCR_CampaignBuildingBuildUserAction, SCR_CampaignBuildingDisassemblyUserAction, SCR_CampaignBuildingStartUserAction, SCR_CampaignDeployMobileAssemblyUserAction, SCR_CampaignReconfigureHQRadioUserAction, SCR_CampaignReconfigureRelayUserAction, SCR_CampaignRepairEntityUserAction, SCR_CatalogSpawnerUserAction, SCR_CloseVehicleDoorUserAction, SCR_RemoteDetonatorAction, SCR_EnableDefendersAction, SCR_EngineAction, SCR_InspectCasualtyUserAction, SCR_InventoryAction, SCR_LadderUserAction, SCR_OpenVehicleDoorUserAction, SCR_RemoveCasualtyUserAction, SCR_WeaponAction, and SCR_CompartmentUserAction.
void ScriptedUserAction.Init | ( | IEntity | pOwnerEntity, |
GenericComponent | pManagerComponent | ||
) |
Called when object is initialized and registered to actions manager.
Implemented in SCR_LoiterUserAction, SCR_DeployInventoryItemBaseAction, SCR_DismantleInventoryItemBaseAction, SCR_OpenDeployableSpawnPointStorageAction, SCR_ShowDeployableSpawnPointInfo, SCR_ToggleDeployableSpawnPointLoadoutAction, SCR_ResourceContainerStoreAction, SCR_ResourceContainerVehicleLoadAction, SCR_ResourceContainerVehicleUnloadAction, SCR_ResourceStorageOpenAction, SCR_AddTarget, SCR_RemoveTarget, SCR_SetTargetDistanceDownUserAction, SCR_SetTargetDistanceUpUserAction, SCR_SetTargetsModeUserAction, SCR_InspectionUserAction, SCR_RadioToggleUserAction, SCR_RadioTuningUserAction, SCR_ToggleSafetyUserAction, SCR_ActivateMineUserAction, SCR_AdjustSignalAction, SCR_AdjustTimedFuzeAction, SCR_AttachementAction, SCR_AttachItemFromInventoryAction, SCR_BaseFactionCheckUserAction, SCR_BaseWeaponAction, SCR_CampaignBuildingBuildUserAction, SCR_CampaignBuildingDisassemblyUserAction, SCR_CampaignBuildingStartUserAction, SCR_CampaignDeployMobileAssemblyUserAction, SCR_CampaignReconfigureHQRadioUserAction, SCR_CampaignReconfigureRelayUserAction, SCR_CampaignRepairEntityUserAction, SCR_CatalogSpawnerUserAction, SCR_RemoteDetonatorAction, SCR_EnableDefendersAction, SCR_EquipClothAction, SCR_EquipWeaponAttachment, SCR_ExplosiveChargeAction, SCR_GetInUserAction, SCR_HelicopterEngineAction, SCR_InventoryAction, SCR_LadderUserAction, SCR_LightFireplaceUserAction, SCR_OpenVehicleStorageAction, SCR_PushVehicleAction, SCR_ResourceEntityRefundAction, SCR_SaveArsenalLoadout, SCR_SwitchFlashlightLensAction, SCR_SwitchLightUserAction, SCR_TurretAssemblyAction, SCR_VehicleAction, SCR_VehicleActionBase, SCR_WeaponAction, SCR_WeaponLoadAction, SCR_BaseUseSupportStationAction, SCR_CheckFuelAction, SCR_DrainFuelUserAction, SCR_RefuelAtSupportStationAction, SCR_ResupplySelfSupportStationAction, TestDragUserAction, TestPushUserAction, and ThrowGrenadeAction.
void ScriptedUserAction.OnActionCanceled | ( | IEntity | pOwnerEntity, |
IEntity | pUserEntity | ||
) |
Method called when the action is interrupted/canceled.
pUserEntity | The entity that was performing this action prior to interruption |
Implemented in SCR_DeployInventoryItemBaseAction, SCR_AdjustSignalAction, SCR_BandageUserAction, SCR_CampaignBuildingBuildUserAction, SCR_CampaignBuildingDisassemblyUserAction, SCR_CampaignReconfigureHQRadioUserAction, SCR_CampaignReconfigureRelayUserAction, SCR_EngineAction, SCR_MorphineUserAction, SCR_PlayInstrument, SCR_PushVehicleAction, SCR_SalineBagUserAction, SCR_TourniquetUserAction, SCR_UnflipVehicleAction, SCR_BaseUseSupportStationAction, and SCR_DrainFuelUserAction.
void ScriptedUserAction.OnActionStart | ( | IEntity | pUserEntity | ) |
Method called from scripted interaction handler when an action is started (progress bar appeared)
pUserEntity | The entity that started performing this action |
Implemented in SCR_DeployInventoryItemBaseAction, SCR_AdjustSignalAction, SCR_CampaignBuildingBuildUserAction, SCR_CampaignBuildingDisassemblyUserAction, SCR_CampaignReconfigureHQRadioUserAction, SCR_CampaignReconfigureRelayUserAction, SCR_EngineAction, SCR_HelicopterEngineAction, SCR_InspectCasualtyUserAction, SCR_PlayInstrument, SCR_PushVehicleAction, SCR_ScriptedUserAction, SCR_UnflipVehicleAction, SCR_BaseUseSupportStationAction, and SCR_DrainFuelUserAction.
void ScriptedUserAction.OnConfirmed | ( | IEntity | pUserEntity | ) |
If action passed as callback OnConfirmed will be called when reached execution, user entity is typically character.
Implemented in SCR_CampaignBuildingBuildUserAction, SCR_EquipWeaponAction, and SCR_EquipWeaponHolsterAction.
void ScriptedUserAction.OnRejected | ( | IEntity | pUserEntity | ) |
If action passed as callback OnRejected will be called when execution was rejected, user entity is typically character.
Implemented in SCR_EquipWeaponAction.
void ScriptedUserAction.PerformAction | ( | IEntity | pOwnerEntity, |
IEntity | pUserEntity | ||
) |
Called when someone tries to perform the action, user entity is typically character.
Implemented in SCR_UserActionWithOccupancy, SCR_FastTravelAction, SCR_DeployInventoryItemBaseAction, SCR_DismantleInventoryItemBaseAction, SCR_ShowDeployableSpawnPointInfo, SCR_ToggleDeployableSpawnPointLoadoutAction, SCR_ResourceContainerStoreAction, SCR_ResourceContainerVehicleLoadAction, SCR_ResourceContainerVehicleUnloadAction, SCR_AddTarget, SCR_RemoveTarget, SCR_SetTargetDistanceDownUserAction, SCR_SetTargetDistanceUpUserAction, SCR_SetTargetsModeUserAction, SCR_FireModeSwitchUserAction, SCR_RadioToggleUserAction, SCR_RadioTuningUserAction, SCR_ToggleSafetyUserAction, SCR_ActivateMineUserAction, SCR_ArmExplosiveChargeWithRemoteFuzeAction, SCR_ArmExplosiveChargeWithTimedFuzeAction, SCR_BaseAudioScriptedUserAction, BurnUserAction, SCR_CampaignBuildingBuildUserAction, SCR_CampaignBuildingDisassemblyUserAction, SCR_CampaignBuildingStartUserAction, SCR_CampaignDeployMobileAssemblyUserAction, SCR_CampaignPackMobileAssemblyUserAction, SCR_CampaignReconfigureHQRadioUserAction, SCR_CampaignReconfigureRelayUserAction, SCR_CampaignRepairEntityUserAction, SCR_CatalogSpawnerUserAction, SCR_ChangeComparmentAction, SCR_CloseVehicleDoorUserAction, SCR_DetonateChargesAction, SCR_DisarmExplosiveChargeAction, SCR_DisconnectChargesAction, SCR_DoorUserAction, SCR_LadderDoorUserAction, SCR_EnableDefendersAction, SCR_ExplosiveChargeAction, SCR_FlushToilet, SCR_GetInUserAction, SCR_GetOutAction, SCR_HealingUserAction, SCR_InspectCasualtyUserAction, SCR_InventoryAction, SCR_JumpOutAction, SCR_LadderUserAction, SCR_LightFireplaceUserAction, SCR_LightsDashboardUserAction, SCR_LightsHazardUserAction, SCR_LightsHiBeamsUserAction, SCR_LightsPresenceUserAction, SCR_LightsSearchLightUserAction, SCR_LightsTurnLeftUserAction, SCR_LightsTurnRightUserAction, SCR_MineAddFlagAction, SCR_MineFlagPickUpAction, SCR_OpenVehicleDoorUserAction, SCR_RemoveCasualtyUserAction, SCR_ResourceEntityRefundAction, SCR_SaveArsenalLoadout, SCR_SwitchFlashlightLensAction, SCR_SwitchLightUserAction, SCR_TestScriptedRadioMsgUserAction, SCR_ToggleHandbrakeAction, SCR_TourniquetUserAction, SCR_TurnOnAction, SCR_TurretAssemblyAction, SCR_TutorialCourseSelectionUserAction, SCR_TutorialDeployMobileAssembly, SCR_TutorialOpenFastTravelInterface, SCR_TutorialReturnToMenuAction, SCR_VehicleActionBase, SCR_VehicleLockControlsAction, SCR_VehicleTakeControlsAction, SCR_WeaponAction, SCR_WeaponLoadAction, SCR_BaseUseSupportStationAction, SCR_CheckFuelAction, SCR_DrainFuelUserAction, SCR_BaseResupplySupportStationAction, TestDragUserAction, TestPushUserAction, ThrowGrenadeAction, and LightUserAction.
void ScriptedUserAction.PerformContinuousAction | ( | IEntity | pOwnerEntity, |
IEntity | pUserEntity, | ||
float | timeSlice | ||
) |
Called when someone tries to perform the continuous action, user entity is typically character.
Implemented in SCR_ResourceContainerVehicleLoadAction, SCR_ResourceContainerVehicleUnloadAction, SCR_AdjustSignalAction, SCR_CampaignBuildingBuildUserAction, SCR_EngineAction, SCR_HelicopterEngineAction, SCR_PushVehicleAction, SCR_ScriptedSignalUserActionDecrease, SCR_ScriptedSignalUserActionIncrease, SCR_UnflipVehicleAction, SCR_BaseUseSupportStationAction, and SCR_DrainFuelUserAction.