GetUserVariable

From ZDoom Wiki
Jump to: navigation, search

int GetUserVariable (int tid, str name)

Usage

Returns the value of one of the affected actor's user variables.

  • tid: the tid of the affected actor. 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").

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.


See also

Personal tools
Namespaces
Variants
Actions
Navigation
ACS
DECORATE
ZDoom mods
Toolbox