Categories


Description :

Code contained in the If part is executed if the condition is true, while that in the Else part is executed if the condition is false.

Uses :

Use this block for testing conditions and performing one set of actions if the condition is true, or another set of actions if it is false.

Example :

The following code deals damage based on whether or not any armor is remaining.