718
edits
Kernelmethod (talk | contribs) m (Use ZoneBuilderPriority rather than hard-coded numbers.) |
Kernelmethod (talk | contribs) m (Fix typo) |
||
Line 147: | Line 147: | ||
// Add an object to the zone | // Add an object to the zone | ||
// Replace "Oboroqoru" with the object ID of the creature you | // Replace "Oboroqoru" with the object ID of the creature you want to add | ||
var creature = GameObject.Create("Oboroqoru"); | var creature = GameObject.Create("Oboroqoru"); | ||
zoneManager.AddZonePostBuilder(zoneID, nameof(AddObjectBuilder), "Object", zoneManager.CacheObject(creature)); | zoneManager.AddZonePostBuilder(zoneID, nameof(AddObjectBuilder), "Object", zoneManager.CacheObject(creature)); |