1. Hi

    I want to write a Little plugin that just checks if you want to place a cupboard if there are any nearby other cupboards in a specific radius.

    Is this possible? Maybe a Little advice?


    Many thanks!
     
  2. Wulf

    Wulf Community Admin

    Moved to Rust section, as Legacy doesn't have cupboards.
     
  3. Ops sorry. Thank you.

    Can you help me with that maybe?
     
  4. Wulf

    Wulf Community Admin

    You could take a look at existing plugins that deal with cupboards, such as CupboardRadius.
     
  5. I already did. Bit there is only a possability to update the attributes of existing Buildprivilige Triggers and Switch if influence Counts or not. But have no idea how do query a Trigger (try to place a entity) and then also check if another type of entitiy is in its area....
    [DOUBLEPOST=1456152420,1455924219][/DOUBLEPOST]Anyone?
     
  6. Calytic

    Calytic Community Admin Community Mod

    There is no known method for finding triggers or entities specifically within a cupboards influence radius.

    The issue is that the cupboards use a cone mesh by default. The only available physics queries are for a cube and a sphere.

    If one of the more experienced Unity developers wants to prove me wrong, please do.