Rule

From Castle Wiki
Revision as of 19:50, 11 May 2022 by Ben (talk | contribs)

A Rule is a unit of logic in Castle decks. Rules can be added to blueprints in order to change the behavior of the blueprint in response to specific events or under certain conditions.

Each rule consists of a Trigger and one or more Responses. Examples of a trigger include When this is tapped and When this collides. There are many different responses, but some examples include: Move toward another actor, Set the value of a variable, Create another actor, and Destroy this actor.

To add rules to blueprints, first open the Inspector for the blueprint you'd like to edit, then go to the Logic tab.