Hivemind
  • 🔍Start Here
  • 💻Code Systems
    • 🐎Ultimate Horse System
      • Documentation
      • Integration Guide
    • 🚀Ultimate Spaceship System (USS) Knowledge Base
      • 📖USS Documentation
      • 🧩USS Integration Guide
    • 🚂Ultimate Train System
      • Dokumentation
      • Integration Guide
    • ⚔️Modular Character System
      • Documentation
      • Trailer
    • ⚒️Ultimate Building System Framework (UBS)
      • 🔍Introduction
      • Installation
        • Example Content Setup
      • Developer Settings
        • Initial Setup
        • Collision Channels
      • Quick Start
      • Ultimate Building System Component (UBS)
      • Buildable Definition
      • Buildable
        • Actions
        • Tag Qualifier Conditions
        • Dependencies
      • Proxy Behaviour
        • Trace Behaviour
        • Proxy Location Offset
        • Placement Conditions
        • Post Build Events
      • Using your own Meshes
      • Global Function References
  • ✨VFX
    • 🩸Realistic Blood VFX
      • Documentation
      • Video Tutorial
    • 🩸Stylized Blood VFX
      • Documentation
    • 💥Realistic Gun Effects
      • Documentation
    • ☁️Smoke & Fog VFX Knowledge Base
      • 📖Smoke & Fog Documentation
      • 📸Video Tutorials
  • 🏡Environments
    • 🌃 Cyberpunk City
      • Level Instance
      • Tech Tools
    • 🏰Modular Castle & Dungeon
      • Documentation
      • Trailer
    • 🏘️Modular Rural Town
      • Documentation
      • Trailer
Powered by GitBook
On this page
  1. Code Systems
  2. Ultimate Building System Framework (UBS)
  3. Proxy Behaviour

Placement Conditions

PreviousProxy Location OffsetNextPost Build Events

Last updated 6 months ago

With Placement Conditions, you can create any logic required to control where and how a buildable can be placed. For example, you might want to prevent a buildable from being placed if it overlaps with the environment. You can add and combine multiple placement conditions to customize the placement behavior for your buildables.

To create your own placement condition, subclass the UBF_BuildableCondition class and override the CanPlace function. This function returns a boolean: if true, the buildable can be placed; if false, it cannot be placed.

Functions

  • CanPlace(): Create your conditional logic here. Returns a boolean - true will pass the condition, false will fail it.

💻
⚒️
Example of a Placement Condition