Begins a gag in a level.
Scope
This command should be called in a level's load script.
Syntax
MFK
Lua
GagBegin( file_name );Game.GagBegin( file_name )- file_name: The file name of the gag in the
art/nis/gagsfolder.- This file name can be, at most, 12 characters including the required
.p3dextension.
- This file name can be, at most, 12 characters including the required
Examples
MFK
Lua
GagBegin("gag_s5.p3d");
// ...
GagEnd();Game.GagBegin("gag_s5.p3d")
-- ...
Game.GagEnd()Notes
There is a maximum of 64 gags per level.