Arma Reforger Explorer
1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Toggle main menu visibility
Loading...
Searching...
No Matches
SCR_BaseFactionManagerComponent.c
Go to the documentation of this file.
1
[
ComponentEditorProps
(
category
:
"GameScripted/FactionManager/Components"
, description:
"Base for FactionManager scripted component."
)]
2
class
SCR_BaseFactionManagerComponentClass
:
ScriptComponentClass
3
{
4
}
5
7
class
SCR_BaseFactionManagerComponent
:
ScriptComponent
8
{
9
//------------------------------------------------------------------------------------------------
13
void
OnFactionsInit
(array<Faction> factions);
14
15
//------------------------------------------------------------------------------------------------
16
// constructor
20
void
SCR_BaseFactionManagerComponent
(
IEntityComponentSource
src,
IEntity
ent,
IEntity
parent)
21
{
22
if
(!ent.Type().IsInherited(
SCR_FactionManager
))
23
Print
(
string
.Format(
"SCR_BaseFactionManagerComponent must be on SCR_FactionManager, it's on %1!"
, ent.Type()),
LogLevel
.WARNING);
24
}
25
}
ComponentEditorProps
enum EAIGroupCombatMode ComponentEditorProps(category:"GameScripted/AI", description:"Component for utility AI system for groups")
Definition
SCR_AIGroupUtilityComponent.c:12
SCR_BaseFactionManagerComponent
void SCR_BaseFactionManagerComponent(IEntityComponentSource src, IEntity ent, IEntity parent)
Definition
SCR_BaseFactionManagerComponent.c:20
OnFactionsInit
SCR_BaseFactionManagerComponentClass ScriptComponentClass OnFactionsInit(array< Faction > factions)
Base class for components attached to SCR_FactionManager.
SCR_FactionManager
void SCR_FactionManager(IEntitySource src, IEntity parent)
Definition
SCR_FactionManager.c:498
category
params category
Definition
SCR_VehicleDamageManagerComponent.c:302
IEntityComponentSource
Definition
IEntityComponentSource.c:13
IEntity
Definition
IEntity.c:13
SCR_BaseFactionManagerComponentClass
Definition
SCR_BaseFactionManagerComponent.c:3
ScriptComponentClass
Definition
ScriptComponentClass.c:8
ScriptComponent
Definition
ScriptComponent.c:24
Print
proto void Print(void var, LogLevel level=LogLevel.NORMAL)
Prints content of variable to console/log.
LogLevel
LogLevel
Enum with severity of the logging message.
Definition
LogLevel.c:14
scripts
Game
GameMode
FactionManager
SCR_BaseFactionManagerComponent.c
Generated by
1.17.0