Loner-StrikeReference

Reference

Conditions

11 Game Mode Studio nodes. Pick one for its pins, settings and limits.

Is Team

flowcond.is_team

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.

Branch

flowflow.branch

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.

Compare

valuemath.compare

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.

And / Or

valuelogic.and_or

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.

Not

valuelogic.not

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.

Text Is

valuetext.equals

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.

Is Valid?

flowflow.if_valid

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.

Equal

valuelogic.equal

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.

Select

valuelogic.select

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.

Is Valid

valuecond.is_valid

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.

Nearly Equal

valueflow.nearly_equal

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.