# 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
- [F] —
void
— Movie Start Recording — ( MovieStartRecording ) - [F] —
void
— Movie Add SubTitle (String) — ( MovieAddSubTitle ) - [F] —
void
— Movie Add SubTitle (Text) — ( MovieAddSubTitleText ) - [F] —
void
— Movie Add Trigger Function — ( MovieAddTriggerFunction ) - [F] —
void
— Movie Stop Recording — ( MovieStopRecording ) - [F] —
void
— Movie Dynamic Subtitles and Duration — ( libNtve_gf_MovieDynamicSubtitlesandDuration ) - [F] —
void
— Movie Function — ( TriggerAddEventMovieFunction ) - [F] —
void
— Movie Started — ( TriggerAddEventMovieStarted ) - [F] —
void
— Movie Finished — ( TriggerAddEventMovieFinished )
# Examples
— None found —