Solved Removing wood from campfire?

Discussion in 'Legacy Discussion' started by DraB, Mar 14, 2017.

  1. DraB

    DraB Shack Builder Plugin Developer

    Is there a way I can remove the wood the comes with placing a campfire?
     
  2. Gute

    Gute Shack Builder Plugin Developer

    Missing forehead
    Code (Text):
     int Limpar (bool all)
            {
                Int destruído = 0;
                Foreach (DeployableObject deployable em UnityEngine.Resources.FindObjectsOfTypeAll <DeployableObject> ())
                {
                    If (deployable.gameObject.name == "Campfire (Clone)")
                    {
                        If (shouldDestroy (deployable.transform.position, all))
                        {
                            NetCull.Destroy (deployable.gameObject);
                            Destruído ++;
                        }
                    }
                }
                Retorno destruído;
            }[/CÓDIGO]
     
  3. DraB

    DraB Shack Builder Plugin Developer

    Solved
     
  4. Gute

    Gute Shack Builder Plugin Developer

    It worked?
     
  5. DraB

    DraB Shack Builder Plugin Developer

    I had a buddy make a plugin for it.
     
  6. AirMax

    AirMax Scavenger

    It's kind of a complete removal of the object - but can I delete those 5 pieces of wood when installing a bone?