ReplaceDwelling(SCRIPT_NAME, TOWN_ID, CREATURE_1, CREATURE_2, CREATURE_3, CREATURE_4)
The maximum number of creatures that can be in the new dwelling is equal to the number of creatures that were available in the original dwelling. You can place any creatures, regardless of the dwelling type.