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



Introduced in

Version:3.7

Description

Description: Stops and discards the current UPR recording for the specified unit.

Once a recording has been UPRSaveRecording, it cannot be discarded anymore. It would have to be Delete.

This is a clean-up alternative to the UPRSaveRecording command for cases when the recorded data is not needed anymore. (I.e. the recording is cancelled.)

Syntax

Syntax: UPRDiscardRecording unit
Parameters:
Return Value: Boolean - If true, then recording was discarded. If false, then either the unit or the recording don't exist.

Examples

Examples:
UPRDiscardRecording player

Additional Information

See also: UPRStartRecording, UPRSaveRecording, UPRStopRecording
Multiplayer: 
Problems: 

Notes