Jump to content

[Help in MOOSE] Spawn Random group in Multiple Zones


Recommended Posts

Posted (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 by Raviar
  • Raviar changed the title to [Help in MOOSE] Spawn Random group in Multiple Zones
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...