SetUserVariable
From ZDoom Wiki
void SetUserVariable (int tid, str name, int value)
Usage
Sets one of the affected actor's user variables.
- tid: the TID of the affected actors. If 0, the script's activator is used.
- name: the name of the variable. User variables must begin by user_. Quotes must also be put around the variable's name (i.e. "user_theta").
- value: the value to give to the variable.
Examples
|
Note: This article lists no examples. If you make use of this feature in your own project(s) or know of any basic examples that could be shared, please add them. This will make it easier to understand for future authors seeking assistance. Your contibutions are greatly appreciated. |