Getplayervar: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
One (talk | contribs)
No edit summary
No edit summary
Line 1: Line 1:
'''getplayervar'''[<player id>].<gamevar1> <gamevar2>
'''getplayervar'''[<player id>].<gamevar1> <gamevar2>


Gets the value in <player id>'s <gamevar1> and sets <gamevar2> to that value.
Gets the value in <player id>'s <gamevar1> and sets <gamevar2> to that value. <[[gamevar|gamevar1]]> must be defined as a per-player variable.
 
See also, [[setactorvar]].


[[Category:EDuke32 specific commands]]
[[Category:EDuke32 specific commands]]
[[Category:Gamevar manipulation]]
[[Category:Gamevar manipulation]]
[[Category:Player manipulation]]
[[Category:Player manipulation]]

Revision as of 19:19, 7 January 2011

getplayervar[<player id>].<gamevar1> <gamevar2>

Gets the value in <player id>'s <gamevar1> and sets <gamevar2> to that value. <gamevar1> must be defined as a per-player variable.