public NPC SpawnAt(Map map, Vector3 pos, bool hugGround = false) { var npc = Create(map.DifficultyIndex); if (hugGround && InhabitType == InhabitType.Ground) { pos.Z = map.Terrain.GetGroundHeightUnderneath(pos); } map.AddObject(npc, pos); return npc; }
public NavFigurine(Map map, Vector3 location) : this() { map.AddObject(this, ref location); }
public NPC SpawnAt(Map rgn, Vector3 pos) { var npc = Create(rgn.DifficultyIndex); rgn.AddObject(npc, pos); return npc; }