Getplayer: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
BlasterDRP (talk | contribs)
mNo edit summary
Mblackwell (talk | contribs)
mNo edit summary
Line 1: Line 1:
getplayer[<x>].<member> <gamevar>
getplayer[<player id>].<member> <gamevar>


This sets <gamevar> equal to the value of one of the player member functions [http://www.eduke32.com/wiki/index.php?title=Player_Member_Functions] <member>. The value of <x> can either be "THISACTOR" or "myconnectindex." It is wise to use "myconnectindex" whenever possible in getplayer or [[setplayer]] as it more accurately grabs the value of <member>.
This sets the [[gamevar]] <gamevar> equal to the value of one of the player member functions [http://www.eduke32.com/wiki/index.php?title=Player_Member_Functions] <member>. The value of <player id> can either be "THISACTOR" or "myconnectindex." Please see [[Player Member Functions]] for more information on this command.

Revision as of 09:22, 25 December 2004

getplayer[<player id>].<member> <gamevar>

This sets the gamevar <gamevar> equal to the value of one of the player member functions [1] <member>. The value of <player id> can either be "THISACTOR" or "myconnectindex." Please see Player Member Functions for more information on this command.