ScriptDeactiveGenerator

From Amulets & Armor Wiki
Jump to: navigation, search

DeactiveGenerator( [GeneratorNum] )

Stops a generator that has been defined in the .GEN file by Index.

Arguments

GeneratorNum - Index of Generator defined in .GEN file

Example

41:
   ChangeSideTexture(1636,"SWIT1U");
   AreaSound(6007,-16,516,300,255);
   DeactiveGenerator(1);
   End();

Notes

Creating Generator Files


Back to Scripting Main Page