Knowledge base
Knowledge base
Knowledge base
Free, anonymous browsing of Unreal Engine Blueprint examples, node references, and best practices. The same content the WoalzCraft plugin uses to generate Blueprints.
20 results for ternary
BooleanORUE 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo agoLess_FloatFloatUE 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo agoBooleanANDUE 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo agoOR=BooleanOR, NOT=Not_PreBool, XOR=BooleanXOR
ANDUE 5.4, 5.7updated 2mo agoA named set of fixed values (e.g. EWeaponType: Pistol/Shotgun/Rifle). Pairs well with Switch on Enum.
string
A True/False value. The simplest type — used for flags, toggles, and Branch conditions.
Pure node. bPickA=true returns A, bPickA=false returns B. Works for any type.
SelectFloatUE 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo agoGreaterEqual_FloatFloatUE 5.3, 5.4, 5.5, 5.6, 5.7updated 2mo agoVariables: CurrentState (your EState enum: Idle, Patrol, Chase, Attack, Dead). EventTick or custom Update event → Switch on EState(CurrentState) → Idle: [idle logic] → Patrol: [patrol logic] → Chase: [chase logic] etc. State transitions via custom events: OnEnemySpotted → SetVariable(CurrentState=EState::Chase). OnEnemyLost → SetVariable(CurrentState=EState::Patrol). OnDamaged → Branch(Health<=0) → True: SetVariable(CurrentState=EState::Dead). Key: Switch On Enum node — connect enum variable to the input, each value gets an exec output pin.