Set Variable Component
![code/modules/wiremod/components/admin/setvar.dm 6](git.png)
A component that sets a variable on an object
Vars | |
entity | Entity to set variable of |
---|---|
new_value | New value to set the variable name to. |
resolve_weakrefs | Whether to resolve weakrefs or not |
variable_name | Variable name |
Var Details
entity
![code/modules/wiremod/components/admin/setvar.dm 16](git.png)
Entity to set variable of
new_value
![code/modules/wiremod/components/admin/setvar.dm 25](git.png)
New value to set the variable name to.
resolve_weakrefs
![code/modules/wiremod/components/admin/setvar.dm 13](git.png)
Whether to resolve weakrefs or not
variable_name
![code/modules/wiremod/components/admin/setvar.dm 19](git.png)
Variable name