quinta-feira, 24 de março de 2016

BP Compendium: Branch


Directs the flow of execution of a Blueprint based on the Boolean value “Condition”, which can be true or false. 


  • Condition: This Boolean value can be obtained from a Boolean variable or may be the result of an expression.

Example Usage

At the end of a match it is checked whether the player's score was higher than the highest score. If true, then this score is saved in the "High Score" variable.

Click to enlarge

In another example, when the event "AnyDamage" is triggered, the new value of "Health" variable becomes its old value minus the value of "damage" received. If the value of "Health" is less than zero, the Actor is destroyed.

Click to enlarge