# Movie Add Trigger Function

Grammar — Add trigger function function at time timeStamp
FlagsNative | 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 — Function
  • int — TimeStamp

Returns — void

native void MovieAddTriggerFunction(
	string function,
	int timeStamp,
);

Category: Cinematics / Movie

# Examples

— None found —