NPC:OnRecordingPlaybackEnd
Description:
Callback NPC:OnRecordingPlaybackEnd called when a recorded file being reproduced with NPC:StartRecordingPlayback has reached to its end.
Callback NPC:OnRecordingPlaybackEnd was added in 0.3a and will not work in earlier versions! |
Parameters:
(This callback has no parameters.)
Return Values:
This callback does not handle returns.
Examples:
public OnRecordingPlaybackEnd() { StartRecordingPlayback(PLAYER_RECORDING_TYPE_DRIVER, "all_around_lv_bus"); //This would start the recorded file again once it finishes reproducing. }
Related Callbacks
The following callbacks might be useful as well, as they are related to this callback in one way or another.
- NPC:StartRecordingPlayback: Starts reproducing an already recorded .rec file.
- NPC:StopRecordingPlayback: Stops reproducing a .rec file.