Sets if a gag should sparkle.
Scope
This command should be called between calls to GagBegin and GagEnd in a level's load script.
Syntax
MFK
Lua
GagSetSparkle( sparkle );Game.GagSetSparkle( sparkle )- sparkle: Whether the gag will sparkle. 0 or 1.
Examples
MFK
Lua
GagBegin("gag_bbq.p3d");
// ...
GagSetSparkle(1);
// ...
GagEnd();Game.GagBegin("gag_bbq.p3d")
-- ...
Game.GagSetSparkle(1)
-- ...
Game.GagEnd()Notes
If the gag is set to be persistent with GagSetPersist and has already been completed, sparkles will be forcefully disabled.