Difference between revisions of "Logic"
(Remove variable information to be moved to the variables wiki page.) |
m |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
[[File:Logictab.jpg|open logic tab|thumb|377x377px]]The Logic tab is | [[File:Logictab.jpg|open logic tab|thumb|377x377px]]The Logic tab is the part of the [[Inspector]] governing the logic of the given [[Blueprint]], including [[Rule|Rules]] and Variables. Rules and actor variables play an important role in the functionality of Castle decks. | ||
== Rules == | == Rules == | ||
The [[rules]] | The [[rules]] section is where rules for the given blueprint are written. Rules are pieces of logic that have a [[trigger]] and [[Response|responses]]. Using rules, you can control what your actors do under certain conditions, and in response to specific events. | ||
== Variables == | == Variables == | ||
The | The [[Variable|variables]] section is where actor local variables for actors that use this blueprint are defined. Variables can be used and referenced in the Rules tab without a definition in the Variables tab, they will be initialized as 0. There are two kinds of variables, global variables and actor variables, but only actor variables are configurable from the Logic tab. |
Latest revision as of 17:38, 11 May 2022
The Logic tab is the part of the Inspector governing the logic of the given Blueprint, including Rules and Variables. Rules and actor variables play an important role in the functionality of Castle decks.
Rules
The rules section is where rules for the given blueprint are written. Rules are pieces of logic that have a trigger and responses. Using rules, you can control what your actors do under certain conditions, and in response to specific events.
Variables
The variables section is where actor local variables for actors that use this blueprint are defined. Variables can be used and referenced in the Rules tab without a definition in the Variables tab, they will be initialized as 0. There are two kinds of variables, global variables and actor variables, but only actor variables are configurable from the Logic tab.