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

Go to the source code of this file.

Classes

class  SCR_SupportStationGadgetComponentClass

Functions

SCR_SupportStationGadgetComponentClass SCR_GadgetComponentClass Attribute (desc:"Which support station this gadget belongs to", uiwidget:UIWidgets.SearchComboBox, enums:ParamEnumArray.FromEnum(ESupportStationType), category:"Support Gadget")] protected ref array< ESupportStationType > m_aSupportStationTypes
int GetSupportStationTypes (out notnull array< ESupportStationType > types)
bool IsGadgetOfSupportStationType (ESupportStationType type)
bool InUseAnimationLoop (IEntity character)
void StartGadgetAnimation (notnull IEntity character, int animationCommand, notnull SCR_ScriptedUserAction action)
void StopGadgetAnimation (notnull IEntity character, int animationCommand)
void AnimateCharacterWithGadget (notnull IEntity character, int animationCMD, vector animationTarget=vector.Zero)
SCR_BaseSupportStationComponent GetSupportStation (ESupportStationType supportStationType)
override void EOnInit (IEntity owner)
override EGadgetType GetType ()

Variables

bool m_bUseActionAsAnimationTarget
ref map< ESupportStationType, SCR_BaseSupportStationComponent > m_mSupportStations = new map<ESupportStationType, SCR_BaseSupportStationComponent>()

Function Documentation

◆ AnimateCharacterWithGadget()

void AnimateCharacterWithGadget ( notnull IEntity character,
int animationCMD,
vector animationTarget = vector.Zero )
protected

Definition at line 98 of file SCR_SupportStationGadgetComponent.c.

◆ Attribute()

SCR_SupportStationGadgetComponentClass SCR_GadgetComponentClass Attribute ( desc:"Which support station this gadget belongs to" ,
uiwidget:UIWidgets. SearchComboBox,
enums:ParamEnumArray. FromEnumESupportStationType,
category:"Support Gadget"  )

◆ GetSupportStation()

SCR_BaseSupportStationComponent GetSupportStation ( ESupportStationType supportStationType)
protected

Get action support station of given type

Parameters
[in]supportStationTypeType of gadget to find
Returns
Support Station on gadget (if any)

Definition at line 142 of file SCR_SupportStationGadgetComponent.c.

◆ GetSupportStationTypes()

int GetSupportStationTypes ( out notnull array< ESupportStationType > types)
protected
Parameters
[out]GetList of all support station types this gadget has
Returns
Count of support station type array

Definition at line 19 of file SCR_SupportStationGadgetComponent.c.

◆ GetType()

override EGadgetType GetType ( )
protected

Definition at line 236 of file SCR_SupportStationGadgetComponent.c.

◆ InUseAnimationLoop()

bool InUseAnimationLoop ( IEntity character)
protected
Parameters
[in]characterCharacter that animates
Returns
True if character is currently in an animation loop

Definition at line 37 of file SCR_SupportStationGadgetComponent.c.

◆ IsGadgetOfSupportStationType()

bool IsGadgetOfSupportStationType ( ESupportStationType type)
protected
Parameters
[in]Typeto check
Returns
True if gadget is of the given type

Definition at line 29 of file SCR_SupportStationGadgetComponent.c.

◆ StartGadgetAnimation()

void StartGadgetAnimation ( notnull IEntity character,
int animationCommand,
notnull SCR_ScriptedUserAction action )
protected

Start the animation if animation 'in' and looping than it will go to the loop animation and StopGadgetAnimation() needs to be called

Parameters
[in]characterCharacter to animate
[in]animationCommand
[in]actionAction that is used for the animation

Definition at line 60 of file SCR_SupportStationGadgetComponent.c.

◆ StopGadgetAnimation()

void StopGadgetAnimation ( notnull IEntity character,
int animationCommand )
protected

Start the animation if animation 'out'. Used when animation is looping

Parameters
[in]characterCharacter to animate
[in]animationCommand

Definition at line 75 of file SCR_SupportStationGadgetComponent.c.

Variable Documentation

◆ m_bUseActionAsAnimationTarget

bool m_bUseActionAsAnimationTarget
protected

Definition at line 12 of file SCR_SupportStationGadgetComponent.c.

◆ m_mSupportStations

ref map<ESupportStationType, SCR_BaseSupportStationComponent> m_mSupportStations = new map<ESupportStationType, SCR_BaseSupportStationComponent>()
protected

Definition at line 14 of file SCR_SupportStationGadgetComponent.c.