Arma Reforger Script API
Loading...
Searching...
No Matches
SCR_ContinuousLoiterCommand Interface Reference
Inheritance diagram for SCR_ContinuousLoiterCommand:
SCR_BaseRadialCommand

Public Member Functions

override bool Execute (IEntity cursorTarget, IEntity target, vector targetPosition, int playerID, bool isClient)
 method that will be executed when the command is selected in the menu This method is right now broadcaasted to all clients, so if the command is intended only for specific clients, it needs to be filtered inside
 
override bool CanBePerformed (notnull SCR_ChimeraCharacter user)
 Returns true if user (player) of the command can issue the command.
 
bool StartLoiter ()
 
- Public Member Functions inherited from SCR_BaseRadialCommand
void VisualizeCommand (vector targetPosition)
 
void VisualizeCommandPreview (vector targetPosition)
 
string GetIconName ()
 
string GetCommandDisplayName ()
 
ResourceName GetIconImageset ()
 
string GetCommandName ()
 
bool CanRoleShow ()
 
bool CanBeShownInCurrentLifeState ()
 
bool CanBeShown ()
 
bool CanShowOnMap ()
 
bool CanBeExecuted (notnull IEntity target)
 Returns true if target of the command - typically cursortarget - can execute the command.
 
LocalizedString GetCannotExecuteReason ()
 
LocalizedString GetCannotPerformReason ()
 

Protected Attributes

ref SCR_ScriptedCharacterInputContext m_pScrInputContext
 
ELoiteringType m_eLoiterType
 
bool m_bUnequipItems
 
ref array< ref ECharacterStancem_aAllowedStances
 
ResourceName m_sHint = "{3D2B20A0A9C3248A}Configs/Hints/GeneralHints.conf"
 
- Protected Attributes inherited from SCR_BaseRadialCommand
string m_sCommandName
 
string m_sCommandDisplayName
 
ResourceName m_sImageset
 
string m_sIconName
 
SCR_ECharacterRank m_eRequiredRank
 
LocalizedString m_sCannotPerformReason
 
LocalizedString m_sCannotExecuteReason
 

Additional Inherited Members

- Protected Member Functions inherited from SCR_BaseRadialCommand
void SetCannotExecuteReason (LocalizedString newReason)
 
void SetCannotPerformReason (LocalizedString newReason)
 
- Static Protected Attributes inherited from SCR_BaseRadialCommand
static const LocalizedString CANNOT_PERFORM_RANK_TOO_LOW = "#AR-Commanding_CannotPefrorm_RankTooLow"
 
static const LocalizedString CANNOT_EXECUTE_SOLDIER_NA = "#AR-Commanding_CannotExecute_SoldierNotAvailable"
 

Member Function Documentation

◆ CanBePerformed()

override bool SCR_ContinuousLoiterCommand.CanBePerformed ( notnull SCR_ChimeraCharacter user)

Returns true if user (player) of the command can issue the command.

Parameters
[in]user- the commander's chimera character

Implements SCR_BaseRadialCommand.

◆ Execute()

override bool SCR_ContinuousLoiterCommand.Execute ( IEntity cursorTarget,
IEntity target,
vector targetPosition,
int playerID,
bool isClient )

method that will be executed when the command is selected in the menu This method is right now broadcaasted to all clients, so if the command is intended only for specific clients, it needs to be filtered inside

Implements SCR_BaseRadialCommand.

◆ StartLoiter()

bool SCR_ContinuousLoiterCommand.StartLoiter ( )

Member Data Documentation

◆ m_aAllowedStances

ref array<ref ECharacterStance> SCR_ContinuousLoiterCommand.m_aAllowedStances
protected

◆ m_bUnequipItems

bool SCR_ContinuousLoiterCommand.m_bUnequipItems
protected

◆ m_eLoiterType

ELoiteringType SCR_ContinuousLoiterCommand.m_eLoiterType
protected

◆ m_pScrInputContext

ref SCR_ScriptedCharacterInputContext SCR_ContinuousLoiterCommand.m_pScrInputContext
protected

◆ m_sHint

ResourceName SCR_ContinuousLoiterCommand.m_sHint = "{3D2B20A0A9C3248A}Configs/Hints/GeneralHints.conf"
protected

The documentation for this interface was generated from the following file: