Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_FlagComponent.c File Reference

Go to the source code of this file.

Classes

class  SCR_FlagComponentClass

Functions

SCR_FlagComponentClass SCR_MilitaryBaseLogicComponentClass ChangeMaterial (ResourceName flagResource, ResourceName resourceMLOD=string.Empty)
bool IsFlagPole ()
ResourceName GetDefaultMaterial ()
ResourceName GetDefaultMLOD ()
IEntity GetFlagEntity ()
override void EOnInit (IEntity owner)
override void OnPostInit (IEntity owner)
 Editable Mine.

Variables

bool m_bIsFlagPole
ResourceName m_sDefaultMaterial
ResourceName m_sDefaultMLOD

Function Documentation

◆ ChangeMaterial()

SCR_FlagComponentClass SCR_MilitaryBaseLogicComponentClass ChangeMaterial ( ResourceName flagResource,
ResourceName resourceMLOD = string.Empty )

Changes Material used on Flag or Sign Parameters: flagResource = material to be used, resourceMlod = MLOD , Flags doesn't need this, only signs

Parameters
[in]flagResource
[in]resourceMLOD

Definition at line 1 of file SCR_FlagComponent.c.

◆ GetDefaultMaterial()

ResourceName ChangeMaterial::GetDefaultMaterial ( )
protected
Returns

Definition at line 65 of file SCR_FlagComponent.c.

◆ GetDefaultMLOD()

ResourceName ChangeMaterial::GetDefaultMLOD ( )
protected
Returns

Definition at line 72 of file SCR_FlagComponent.c.

◆ GetFlagEntity()

IEntity GetFlagEntity ( )
Returns
entity with flag from slotComponent or return owner if component is directly on flag entity

Definition at line 91 of file SCR_FlagComponent.c.

◆ IsFlagPole()

bool ChangeMaterial::IsFlagPole ( )
protected
Returns

Definition at line 58 of file SCR_FlagComponent.c.

Variable Documentation

◆ m_bIsFlagPole

bool m_bIsFlagPole
protected

Definition at line 48 of file SCR_FlagComponent.c.

◆ m_sDefaultMaterial

ResourceName m_sDefaultMaterial
protected

Definition at line 51 of file SCR_FlagComponent.c.

◆ m_sDefaultMLOD

ResourceName m_sDefaultMLOD
protected

Definition at line 54 of file SCR_FlagComponent.c.