Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
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.")]
5
8{
9 //------------------------------------------------------------------------------------------------
13 void OnFactionsInit(array<Faction> factions);
14
15 //------------------------------------------------------------------------------------------------
16 // constructor
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}
enum EAIGroupCombatMode ComponentEditorProps(category:"GameScripted/AI", description:"Component for utility AI system for groups")
void SCR_BaseFactionManagerComponent(IEntityComponentSource src, IEntity ent, IEntity parent)
SCR_BaseFactionManagerComponentClass ScriptComponentClass OnFactionsInit(array< Faction > factions)
Base class for components attached to SCR_FactionManager.
void SCR_FactionManager(IEntitySource src, IEntity parent)
proto void Print(void var, LogLevel level=LogLevel.NORMAL)
Prints content of variable to console/log.
LogLevel
Enum with severity of the logging message.
Definition LogLevel.c:14