Set Family Variable: Difference between revisions
Tayfunwiki (talk | contribs) (Created page with "= Set Family Variable Node = == Overview == Enables defining variables for a specified family. This allows you to create and customize variables for each family based on their type. Can be used in conjunction with the Return Family Node.") |
Tayfunwiki (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
= Set Family Variable Node = | = 🧬 Set [Family] Variable Node = | ||
The '''Set [Family] Variable''' node allows you to modify a variable defined for a specific family. | |||
== | This is useful for tracking family-level stats such as honor, wealth, reputation, or custom attributes you've created. | ||
---- | |||
== 🧠 What it does == | |||
This node takes a variable name (defined in the <code>Variables</code> tab) and applies a value to it. | |||
You can: | |||
* Set (overwrite) a value | |||
* Add to existing value | |||
* Subtract from existing value | |||
=== Example === | |||
<code>Honor += 15 for Conspirator's Family</code> | |||
---- | |||
== 🧩 Variable Setup == | |||
Before using this node, create your variable from the '''Variables tab''' and set its type (e.g., Integer, Float, Bool, etc.). | |||
Each variable is shared by scope: | |||
* <code>Actor</code> → used for individual actors | |||
* <code>Family</code> → shared across all members of a family | |||
* <code>Clan</code> → shared across all members of a clan | |||
* <code>Scheme</code> → scheme-specific context only | |||
---- | |||
== 📷 Example Use == | |||
In this setup, 15 points are added to the '''Honor''' of the '''Conspirator’s Family'''. | |||
[[File:Set Family Variable.png|thumb|Set Family Variable]] | |||
---- | |||
== ⚙️ Parameters == | |||
* '''Scope''': Conspirator / Target / [Family] | |||
* '''Variable''': Select from defined list (e.g., Honor, Coin) | |||
* '''Operation''': Set / Add / Subtract / Multiply | |||
* '''Value''': Number or value to apply | |||
---- | |||
== 🔗 Related Nodes == | |||
* <code>Get [Family] Variable</code> | |||
* <code>Set [Clan] Variable</code> | |||
* <code>Set [Actor] Variable</code> | |||
----Use this when you want to '''dynamically track or change family-wide values''' across your narrative or gameplay systems. |
Latest revision as of 12:16, 29 May 2025
🧬 Set [Family] Variable Node
The Set [Family] Variable node allows you to modify a variable defined for a specific family.
This is useful for tracking family-level stats such as honor, wealth, reputation, or custom attributes you've created.
🧠 What it does
This node takes a variable name (defined in the Variables
tab) and applies a value to it.
You can:
- Set (overwrite) a value
- Add to existing value
- Subtract from existing value
Example
Honor += 15 for Conspirator's Family
🧩 Variable Setup
Before using this node, create your variable from the Variables tab and set its type (e.g., Integer, Float, Bool, etc.).
Each variable is shared by scope:
Actor
→ used for individual actorsFamily
→ shared across all members of a familyClan
→ shared across all members of a clanScheme
→ scheme-specific context only
📷 Example Use
In this setup, 15 points are added to the Honor of the Conspirator’s Family.
⚙️ Parameters
- Scope: Conspirator / Target / [Family]
- Variable: Select from defined list (e.g., Honor, Coin)
- Operation: Set / Add / Subtract / Multiply
- Value: Number or value to apply
🔗 Related Nodes
Get [Family] Variable
Set [Clan] Variable
Set [Actor] Variable
Use this when you want to dynamically track or change family-wide values across your narrative or gameplay systems.