1. So using the OnEntityBuild event how would you place a code lock on a door
    Code:
    void OnEntityBuilt(Planner plan, GameObject go)
    {
        if go.ShortPrefabName = "door.hinge.metal"
    {
    //Code lock place.
    }
    }
     
  2. Wulf

    Wulf Community Admin

    This thread has been resolved but posts were removed from view due to private code being shared without he original author’s permission.