eventOnCommandModeCompleteCommand(intaeCommandType, ObjectReferenceakTarget)
Description
Wiki Description
Event called when the actor in command mode with player finishes his current command
Documentation Comment
Event received when the actor completes a command in command mode.
Type is as follows:
0 - None
1 - Call
2 - Follow
3 - Move
4 - Attack
5 - Inspect
6 - Retrieve
7 - Stay
8 - Release
9 - Heal
Parameters
intaeCommandType
CK Wiki Description
Type of Command that is finished, which is one of the following:* 0 - None
- 1 - Call
- 2 - Follow
- 3 - Move
- 4 - Attack
- 5 - Inspect
- 6 - Retrieve
- 7 - Stay
- 8 - Release
- 9 - Heal
ObjectReferenceakTarget
CK Wiki Description
The ObjectReference that was the target of the command.
Examples
Event OnCommandModeCompleteCommand(int aeCommandType, ObjectReference akTarget)
if aeCommandType == 4
Debug.Trace("We've finished attacking, can we have a doggie biscuit now?")
endIf
endEventAuto-Generated Example
Scriptname MyCoolScript extends Actor
event OnCommandModeCompleteCommand(int aeCommandType, ObjectReference akTarget)
Debug.trace("Event received - OnCommandModeCompleteCommand: aeCommandType = " + aeCommandType + " akTarget = " + akTarget)
endEvent