Modding:Worlds: Difference between revisions

Jump to navigation Jump to search
m
Use ZoneBuilderPriority rather than hard-coded numbers.
(Add a section on dynamically adding secrets to the map.)
m (Use ZoneBuilderPriority rather than hard-coded numbers.)
Line 143: Line 143:


             // Add some roads to the north and south
             // Add some roads to the north and south
             zoneManager.AddZoneBuilder(zoneID, 5000, nameof(RoadNorthMouth));
             zoneManager.AddZoneBuilder(zoneID, ZoneBuilderPriority.LATE, nameof(RoadNorthMouth));
             zoneManager.AddZoneBuilder(zoneID, 5000, nameof(RoadSouthMouth));
             zoneManager.AddZoneBuilder(zoneID, ZoneBuilderPriority.LATE, nameof(RoadSouthMouth));


             // Add an object to the zone
             // Add an object to the zone

Navigation menu