From 973b8323c99683b60aefe9051d6a8219a63d1558 Mon Sep 17 00:00:00 2001 From: cammel tech <47948096+cammeltech@users.noreply.github.com> Date: Fri, 11 Jun 2021 13:38:25 +0200 Subject: [PATCH] Ratmanager documentation add :SetTspawn(dt) infite spawns - see discord func.rat discussion (#1548) Co-authored-by: wob3155@posteo.de --- Moose Development/Moose/Functional/RAT.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Moose Development/Moose/Functional/RAT.lua b/Moose Development/Moose/Functional/RAT.lua index 327e2e518..691f53338 100644 --- a/Moose Development/Moose/Functional/RAT.lua +++ b/Moose Development/Moose/Functional/RAT.lua @@ -5786,6 +5786,8 @@ end -- If desired, the @{#RATMANAGER} can be stopped by the @{#RATMANAGER.Stop}(stoptime) function. The parameter "stoptime" specifies the time delay in seconds after which the manager stops. -- When this happens, no new aircraft will be spawned and the population will eventually decrease to zero. -- +-- When you are using a time intervall like @{#RATMANAGER.dTspawn}(delay), @{#RATMANAGER} will ignore the amount set with @{#RATMANAGER.New}(). @{#RATMANAGER.dTspawn}(delay) will spawn infinite groups. +-- -- ## Example -- In this example, three different @{#RAT} objects are created (but not spawned manually). The @{#RATMANAGER} takes care that at least five aircraft of each type are alive and that the total number of aircraft -- spawned is 25. The @{#RATMANAGER} is started after 30 seconds and stopped after two hours.