Raviar Posted August 20, 2021 Posted August 20, 2021 (edited) I am very new to MOOSE and Lua scripting, define TemplateTable for the armor group and ZoneTable, would like to populate the zones by randomly selected armor group from TemplateTable. red_armor_group_1 = SPAWN:New ("RED_Armor_Group") :InitRandomizeTemplate( RedArmorTemplateTable ) :InitRandomizeZones( ZoneTable ) :InitLimit( 20, 0 ) :SpawnScheduled( 4000, 1 ) as it framework stated it will respawn the random group into randomly selected zone which is not what I want to achieve. I tried bunch of dirty solution and failed the purpose of randomly selected group. highly appreciate if anyone can help thanks Edited September 10, 2021 by Raviar
Recommended Posts