|
Arma Reforger Script API
|
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 | |
| bool | LookAtPosition (IEntity target, vector targetPosition, int playerID) |
| override bool | CanBeShown () |
Public Member Functions inherited from SCR_BaseGroupCommand | |
| override bool | CanRoleShow () |
| string | GetSoundEventName () |
| float | GetSoundEventSeed () |
| bool | CanShowPreview () |
| bool | ShouldPlayAIResponse () |
| override bool | CanShowOnMap () |
| int | GetCommandGestureID () |
| SCR_ECommandVisualizationDuration | GetVisualizationDuration () |
| override bool | CanBeShownInCurrentLifeState () |
| override void | VisualizeCommand (vector targetPosition) |
| override void | VisualizeCommandPreview (vector targetPosition) |
Public Member Functions inherited from SCR_BaseRadialCommand | |
| string | GetIconName () |
| string | GetCommandDisplayName () |
| ResourceName | GetIconImageset () |
| string | GetCommandName () |
| bool | CanBePerformed (notnull SCR_ChimeraCharacter user) |
| Returns true if user (player) of the command can issue the command. | |
| bool | CanBeExecuted (notnull IEntity target) |
| Returns true if target of the command - typically cursortarget - can execute the command. | |
| LocalizedString | GetCannotExecuteReason () |
| LocalizedString | GetCannotPerformReason () |
| override bool SCR_LookAtGroupCommand.CanBeShown | ( | ) |
Implements SCR_BaseRadialCommand.
| override bool SCR_LookAtGroupCommand.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.
| bool SCR_LookAtGroupCommand.LookAtPosition | ( | IEntity | target, |
| vector | targetPosition, | ||
| int | playerID ) |