1. rebdog1337

    rebdog1337 Naked Wanderer

    I'm trying to spawn a new zombie entity, but im not sure how.

    Can someone point me in the right direction please.
  2. rebdog1337

    rebdog1337 Naked Wanderer

    I've got this so far, havent tested it yet tho
    EntityPlayer _player = GameManager.Instance.World.Players.dict[_cInfo.entityId];
    Vector3 _position = _player.GetPosition();
    Vector3 _randPosition = AdjustPosition(_position);
    var entity = 21;
    var entitySpawn = EntityFactory.CreateEntity(entity, _randPosition);

    If this works i wanna be able to get all zombie entity id's
  3. rebdog1337

    rebdog1337 Naked Wanderer

  4. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    It looks like you already know more about it than me, otherwise I'd help. :p

    I don't think there are a lot of developers involved with 7 Days to Die here yet.