Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_HasMultipleMuzzles.c
Go to the documentation of this file.
1
//------------------------------------------------------------------------------------------------
2
[
BaseContainerProps
()]
3
class
SCR_HasMultipleMuzzles
:
SCR_AvailableActionCondition
4
{
5
ref array<BaseMuzzleComponent> muzzles = {};
6
7
//------------------------------------------------------------------------------------------------
8
override
bool
IsAvailable(
SCR_AvailableActionsConditionData
data
)
9
{
10
BaseWeaponComponent
weapon =
data
.GetCurrentWeapon();
11
if
(!weapon)
12
return
false
;
13
14
int
count = weapon.GetMuzzlesList(muzzles);
15
return
GetReturnResult(count > 1);
16
}
17
};
SCR_AvailableActionsConditionData
Definition:
SCR_AvailableActionsConditionData.c:5
SCR_AvailableActionCondition
A single available action condition representation.
Definition:
SCR_AvailableActionsCondition.c:3
BaseWeaponComponent
Definition:
BaseWeaponComponent.c:12
data
Get all prefabs that have the spawner data
Definition:
SCR_EntityCatalogManagerComponent.c:305
BaseContainerProps
SCR_AIGoalReaction_Follow BaseContainerProps
Handles insects that are supposed to be spawned around selected prefabs defined in prefab names array...
Definition:
SCR_AIGoalReaction.c:468
SCR_HasMultipleMuzzles
Definition:
SCR_HasMultipleMuzzles.c:3
scripts_Arma_Reforger_v1.1.0.42
scripts
Game
UI
HUD
AvailableActions
Conditions
Game
Weapon
SCR_HasMultipleMuzzles.c
Generated by
1.8.17