Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:3.5

Description

Description:

Records a timeline event in AAR.

During replay timeline, events can be accessed using getTimeLineEvents.

Syntax

Syntax:AARRecordTimelineEvent [entity, event, description, unitname]
Parameters:
  • entity: Object - Unit, with whom the event should be associated.
  • event: String - Event type to record. Can be: "DEATH", "WOUND", or "TREATMENT".
  • description: String - Text description that shows up in the event details.
  • unitname: String - Unit name shown in the event title. For example, "WOUND(John Doe)" (optional, default: profile name for players, or group identifier + unit generated name for AI).
Return Value:Nothing

Examples

Examples:
AARRecordTimelineEvent [soldier1, "DEATH", "Soldier1 was killed."]

Additional Information

See also: getTimeLineEvents
Multiplayer: 
Problems: 

Notes