Background for Starfield
Member of the ReferenceAlias script
eventOnCommandModeGiveCommand(intaeCommandType, ObjectReferenceakTarget)

Description

Documentation Comment

Event received when the player gives object 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
10 - Assign
11 - Ride
12 - Enter


Parameters

intaeCommandType

ObjectReferenceakTarget


Examples

Auto-Generated Example

Scriptname MyCoolScript extends ReferenceAlias

event OnCommandModeGiveCommand(int aeCommandType, ObjectReference akTarget)
    Debug.trace("Event received - OnCommandModeGiveCommand: aeCommandType = " + aeCommandType + " akTarget = " + akTarget)
endEvent
Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.