![]() |
|
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 | CanBeExecuted (IEntity target) |
| Returns true if target of the command - typically cursortarget - can execute the command. | |
| 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. | |
| LocalizedString | GetCannotExecuteReason () |
| LocalizedString | GetCannotPerformReason () |
| override bool SCR_RecruitAIGroupCommand.CanBeExecuted | ( | IEntity | target | ) |
Returns true if target of the command - typically cursortarget - can execute the command.
| [in] | target | entity, that should execute the command |
Implements SCR_BaseRadialCommand.
| override bool SCR_RecruitAIGroupCommand.CanBeShown | ( | ) |
Implements SCR_BaseRadialCommand.
| override bool SCR_RecruitAIGroupCommand.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.