Beispiel #1
0
		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;
		}
Beispiel #2
0
		public NavFigurine(Map map, Vector3 location) : 
			this()
		{
			map.AddObject(this, ref location);
		}
Beispiel #3
0
		public NPC SpawnAt(Map rgn, Vector3 pos)
		{
			var npc = Create(rgn.DifficultyIndex);
			rgn.AddObject(npc, pos);
			return npc;
		}