Type
Logic
Introduction
Executes according to whether conditions are being met and implements the subsequent logic. By inputting different conditions, and when the conditions are met in-game, the logic will be executed. Typically, you can use conditions to mark out elements from different arrays or let the game have different proceedings. For example, you can use [Conditional statements] to label different teams in a match. If a player belongs to Team A, they can be labeled with a red icon. If a player belongs to Team B, they can be labeled with a blue icon. You can also add on more conditions to enable multiple logic branches.
Note: The conditions must be Boolean, typically expressed in comparative notions to indicate conditions. For example, if a player belongs to Team A, which has the team property equal to A, the return value will be True. On the other hand, if a player belongs to Team B, which has the property not equal to A, the return value will be False.