Skip to content

Is AI

Group
Conditions
In the node menu
Conditions › AI › Is AI
Where it can be used
Scheme graphs
Tags
  • Also a condition row: Is AI

Is AI asks whether an actor is controlled by the AI. True means no human plays them. False means a human does.

An Is AI of the demo system scheme Have a Child (Drafts/schemes/sys-have-a-child.json). It asks whether the Conspirator is played by the AI.

Use it when the scheme should go one way for an actor the game controls and another way for one a player controls, for example to skip a wait or a choice the AI does not need.

For a message that only some players should see, use the audience settings of Show Announcement instead of a check.

  • When the actor cannot be found, the node has no answer. If the other conditions do not settle the result, the flow stops there.
  • The node can hold more conditions, joined by AND or OR, each with an optional NOT. The NOT switch of the node’s own condition shows only while the node has more conditions.
  • The node also works as a row, called Is AI, in the condition lists of Check and Wait Until.
  • When the node reads the Target in a scheme that does not need a target, the card warns: in a run without a target the node has no answer, and the flow stops there unless the other conditions settle the result.
LabelDraft keyTypeDefaultShown if, tooltip and notes
ActorActorActorRef"Conspirator"The actor that is checked.
draft onlyNegateboolfalse
  • Every condition node has this setting.
  • The Studio shows the NOT mark on a condition's heading line instead, once the node has more than one condition.
draft onlyExtraConditionsrows of ConditionDatanot in the data
  • Every condition node has this setting.
  • The Studio shows "+ Add another check" under the node's own rows instead; each further condition gets a heading line (IF / AND / OR, NOT).

Draft only: a draft sets it; the Studio has no row of its own for it.

  1. True
  2. False
"type"
"Is AI"
"set" keys
Actor, Negate, ExtraConditions
"then" keys
"True", "False"
As a condition row
"kind": "Is AI"
"<alias>": {
"type": "Is AI",
"then": { "True": "<alias>", "False": "<alias>" }
}