1. So how do I build a (prefab) at (pos) with "GameManager.server.CreateEntity();

    prefab = "campfire_static"
     
  2. find the full prefab name and specify the position you want it placed

    example;
    Code:
    string name = "assets/prefabs/deployable/woodenbox/woodbox_deployed.prefab";
    Vector3 pos = new Vector3();
    BaseEntity entity = GameManager.server.CreateEntity(name, pos);
                entity.Spawn(true);
     
  3. thanks
     
    Last edited by a moderator: Mar 8, 2016