Gungame.core.players.shortcuts.setAttribute
From GunGame5 Documentation
(Difference between revisions)
(Created page with '{{Function|name=setAttribute| arguments=<source lang="python">setAttribute(filter, , addon)</source> * filter ** userid ** A str() filter as used by [http://python.eventscripts.c...') |
|||
Line 1: | Line 1: | ||
{{Function|name=setAttribute| | {{Function|name=setAttribute| | ||
- | arguments=<source lang="python">setAttribute(filter, , | + | arguments=<source lang="python">setAttribute(filter, attribute, value)</source> |
* filter | * filter | ||
** userid | ** userid | ||
- | ** A str() filter as used by [http://python.eventscripts.com/pages/Playerlib#Notes playerlib.getPlayerList()]|}} | + | ** A str() filter as used by [http://python.eventscripts.com/pages/Playerlib#Notes playerlib.getPlayerList()] |
+ | * attribute | ||
+ | ** The str() name of the attribute | ||
+ | * value | ||
+ | ** The value of the attribute|}} |
Revision as of 09:55, 27 April 2009
Function: setAttribute
Module: [[{{{module}}}]]
Class: {{{class}}}
GunGame Version: {{{ggversion}}}
Function Overview
Table of Contents
Contents |
Description
{{{description}}}
Arguments
setAttribute(filter, attribute, value)
- filter
- userid
- A str() filter as used by playerlib.getPlayerList()
- attribute
- The str() name of the attribute
- value
- The value of the attribute
Examples
{{{examples}}}
Notes
{{{notes}}}
See Also
{{{seealso}}}