Reference
Conditions
11 Game Mode Studio nodes. Pick one for its pins, settings and limits.
flow cond.is_team Copy link
Checks which team a player is on. Nobody (an empty attacker) is on no team, so that goes to False.
Inputs (3) Run Flow Runs this node. Player Player The player. Needs a wire. Team Team The team. Leave it empty to use the setting. Outputs (2) True Flow Runs when the answer is yes. False Flow Runs when the answer is no. Settings (1) Team Pick one: Terrorists, Counter-Terrorists. A wire into the pin of the same name is used instead. Default: t.
Goes to True or False.
Inputs (2) Run Flow Runs this node. Condition Yes/No Condition: yes or no. Leave it empty to use the setting. Outputs (2) True Flow Runs when the answer is yes. False Flow Runs when the answer is no. Settings (1) Condition On or off. A wire into the pin of the same name is used instead. Default: true.
value math.compare Copy link
Compares two numbers.
Inputs (2) A Number A: a number. Leave it empty to use the setting. B Number B: a number. Leave it empty to use the setting. Outputs (1) Result Yes/No Result: yes or no. Settings (3) A A number from -100000 to 100000. A wire into the pin of the same name is used instead. Default: 0. Is Pick one: > more than, ≥ at least, < less than, ≤ at most, = equal to, ≠ not equal to. Default: gt. B A number from -100000 to 100000. A wire into the pin of the same name is used instead. Default: 0.
value logic.and_or Copy link
Both (And), or either one (Or).
Inputs (2) A Yes/No A: yes or no. Leave it empty to use the setting. B Yes/No B: yes or no. Leave it empty to use the setting. Outputs (1) Result Yes/No Result: yes or no. Settings (3) A On or off. A wire into the pin of the same name is used instead. Default: true. Needs Pick one: both (And), either (Or). Default: and. B On or off. A wire into the pin of the same name is used instead. Default: true.
True becomes False and False becomes True.
Inputs (1) In Yes/No In: yes or no. Needs a wire. Outputs (1) Result Yes/No Result: yes or no.
value text.equals Copy link
Is the text the same as this (capitals don't matter)?
Inputs (2) Text Text The text. Needs a wire. Same as Text Same as: text. Leave it empty to use the setting. Outputs (1) Same Yes/No Same: yes or no. Settings (1) Same as Text: letters, digits, spaces and plain punctuation. A wire into the pin of the same name is used instead. Up to 60.
flow flow.if_valid Copy link
Goes to Is Valid when the entity is there, else Is Not Valid. Any entity handle works: a player or bot, a prop, creature, NPC, interactable, component, spawned entity or weapon (a spawn node's Entity), a map entity. A removed one isn't valid.
Inputs (2) Run Flow Runs this node. Object Entity Object: an entity (a thing in the map). Optional. Outputs (2) Is Valid Flow Runs when it's there. Is Not Valid Flow Runs when it isn't.
value logic.equal Copy link
Are the two values the same (or different)?
Inputs (2) A The node's type A: the type set in Holds. Needs a wire. B The node's type B: the type set in Holds. Needs a wire. Outputs (1) Result Yes/No Result: yes or no. Settings (2) Holds What kind of values it holds. Default: number. Is Pick one: equal, not equal. Default: eq.
value logic.select Copy link
Picks A when the condition is true, else B.
Inputs (3) Pick A Yes/No Pick A: yes or no. Leave it empty to use the setting. A The node's type A: the type set in Holds. Optional. B The node's type B: the type set in Holds. Optional. Outputs (1) Result The node's type Result: the type set in Holds. Settings (2) Holds What kind of values it holds. Default: number. Pick A On or off. A wire into the pin of the same name is used instead. Default: true.
value cond.is_valid Copy link
Is the entity there? Any entity handle works: a player or bot, a prop, creature, NPC, interactable, component, spawned entity or weapon (a spawn node's Entity), a map entity. A removed one isn't valid.
Inputs (1) Object Entity Object: an entity (a thing in the map). Optional. Outputs (1) Valid Yes/No Valid: yes or no.
value flow.nearly_equal Copy link
Are A and B within Tolerance of each other (for numbers that came out of math, which are seldom exactly equal)?
Inputs (3) A Number A: a number. Leave it empty to use the setting. B Number B: a number. Leave it empty to use the setting. Tolerance Number Tolerance: a number. Leave it empty to use the setting. Outputs (1) Nearly equal Yes/No Nearly equal: yes or no. Settings (3) A A number from -100000 to 100000. A wire into the pin of the same name is used instead. Default: 0. B A number from -100000 to 100000. A wire into the pin of the same name is used instead. Default: 0. Tolerance A number from 0 to 100000. A wire into the pin of the same name is used instead. Default: 0.01.
Made from the app's own catalog (nodes.json, nodehelp.json, limits.ts), so it matches the app.