Set Clan Variable: Difference between revisions
Tayfunwiki (talk | contribs) (Created page with "= Set Clan Variable Node = == Overview == Allows you to define variables for a specified clan. This enables the creation of custom variables for each clan and allows the variables to be shaped according to their types. Can be used in conjunction with the Return Clan Node.") |
Tayfunwiki (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
= Set Clan Variable Node = | = 🛡️ Set [Clan] Variable Node = | ||
The '''Set [Clan] Variable''' node allows you to modify a variable defined at the clan level. | |||
== | This is useful for tracking shared properties of a clan, such as power, gold reserves, prestige, or any custom variables you've defined. | ||
---- | |||
== 🧠 What it does == | |||
This node applies changes to a variable that belongs to a clan. | |||
You can: | |||
* Set (overwrite) | |||
* Add to existing | |||
* Subtract from existing | |||
=== Example === | |||
<code>Prestige += 10 for Target's Clan</code> | |||
---- | |||
== 🧩 Variable Setup == | |||
Create variables in the '''Variables tab''', and choose <code>Clan</code> as the scope. | |||
You can define types such as Integer, Float, Bool, etc. | |||
These variables affect '''entire clans''', not individual members. | |||
---- | |||
== ⚙️ Parameters == | |||
* '''Scope''': Conspirator / Target / [Clan] | |||
* '''Variable''': Select from defined list (e.g., Power, Honor) | |||
* '''Operation''': Set / Add / Subtract | |||
* '''Value''': Numerical or boolean change | |||
---- | |||
== 🔗 Related Nodes == | |||
* <code>Get [Clan] Variable</code> | |||
* <code>Set [Family] Variable</code> | |||
* <code>Set [Actor] Variable</code> | |||
----Use this node when you want to '''change shared values for a clan''', influencing all members of that clan indirectly. |
Latest revision as of 12:17, 29 May 2025
🛡️ Set [Clan] Variable Node
The Set [Clan] Variable node allows you to modify a variable defined at the clan level.
This is useful for tracking shared properties of a clan, such as power, gold reserves, prestige, or any custom variables you've defined.
🧠 What it does
This node applies changes to a variable that belongs to a clan.
You can:
- Set (overwrite)
- Add to existing
- Subtract from existing
Example
Prestige += 10 for Target's Clan
🧩 Variable Setup
Create variables in the Variables tab, and choose Clan
as the scope.
You can define types such as Integer, Float, Bool, etc.
These variables affect entire clans, not individual members.
⚙️ Parameters
- Scope: Conspirator / Target / [Clan]
- Variable: Select from defined list (e.g., Power, Honor)
- Operation: Set / Add / Subtract
- Value: Numerical or boolean change
🔗 Related Nodes
Get [Clan] Variable
Set [Family] Variable
Set [Actor] Variable
Use this node when you want to change shared values for a clan, influencing all members of that clan indirectly.