On_GenericSpawnLoad

Feb 21, 2018
On_GenericSpawnLoad
  • Method:
    On_GenericSpawnLoad

    Argument(s):
    1: GenericSpawner gs

    Examples:

    This hook loads when the Resources are prepared, and starts spawning them with the specific variables.
    Code (Python):
    def On_GenericSpawnLoad(self, GenericSpawner):
        GenericSpawner.thinkDelay = 120
    Code (Lua):
    function On_GenericSpawnLoad(GenericSpawner)
        GenericSpawner.thinkDelay = 120
    end
    Code (Javascript):
    function On_GenericSpawnLoad(GenericSpawner) {
        GenericSpawner.thinkDelay = 120;
    }