HarmonyWorld
Search…
πŸ€–
Behaviour
Behaviour allows creators to take control in a more simplified manner than scripts. Behaviours are event-based, and allow creators to think about programming as if it were a cause and effect chart. For example Because a player touched a zombie, the effect is that they get infected.
Behaviour is divided into sets of rules in which rule contains a set of conditions and actions. If there are multiple conditions in a rule it will be treated as β€œAND” requirements. For example:
The above example would only trigger the action which in this case kills the player, if both conditions are fulfilled, the player is colliding with anything as well as the F key being pressed by the player.
Copy link