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


Introduced in

Version:2.08

Description

Description:Stores a value during an AAR recording, which can later be recalled during the AAR playback (using AARGetRecordedValue).

Syntax

Syntax:AARRecordValue [object, name, value]
Parameters:
Return Value:Nothing

Examples

Examples:
AARRecordValue [unit1,"kills",unit1Kills]
AARRecordValue [objNull,"stats",[1,"tst",[2,3,4]]]

Additional Information

See also: AARGetRecordedValue, AARGetRecordedVariables
Multiplayer:
Problems:

Notes







Posted on August 17, 2015
Simon Kruchinin
The value actually has to be recorded on the server to appear in the AAR replay:


publicExec ["isServer", "AARRecordValue [_this, ""MY_VAR"", true]", player]