# Movie Add Trigger Function
Grammar — Add trigger function function at time timeStamp
Flags —Native
|Action
|Restricted
When recording a movie, this function add a trigger function to the movie event file, it will be called at the specified time stamp when the movie is played back. If “timeStamp” is -1, current recording time is used.
# Arguments
string
— Functionint
— TimeStamp
Returns — void
native void MovieAddTriggerFunction(
string function,
int timeStamp,
);
# Related
Category: Cinematics / Movie
- Movie Start Recording —
void
— MovieStartRecording - Movie Add SubTitle (String) —
void
— MovieAddSubTitle - Movie Add SubTitle (Text) —
void
— MovieAddSubTitleText - Movie Add Trigger Function —
void
— MovieAddTriggerFunction - Movie Stop Recording —
void
— MovieStopRecording - Movie Dynamic Subtitles and Duration —
void
— libNtve_gf_MovieDynamicSubtitlesandDuration - Movie Function —
void
— TriggerAddEventMovieFunction - Movie Started —
void
— TriggerAddEventMovieStarted - Movie Finished —
void
— TriggerAddEventMovieFinished
# Examples
— None found —