Getuserdef: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
XTHX2 (talk | contribs)
No edit summary
m Category
Line 1: Line 1:
getuserdef[<sprite id>].<functionname> <gamevar>  
getuserdef[<sprite id>].<functionname> <gamevar>  


Use getuserdef to set the value of the gamevar <gamevar> to the value of <functionname> within the actor determined by the gamevar <sprite id> and save it to the gamevar. See [http://wiki.eduke32.com/wiki/Members_of_the_userdef_structure Members of Userdef Structure].
Use getuserdef to set the value of the gamevar <gamevar> to the value of <functionname> within the actor determined by the gamevar <sprite id> and save it to the gamevar.
 
[[Category:EDuke commands]]
[[Category:Userdef structure members]]
[[Category:Gamevar manipulation]]

Revision as of 02:40, 11 August 2008

getuserdef[<sprite id>].<functionname> <gamevar>

Use getuserdef to set the value of the gamevar <gamevar> to the value of <functionname> within the actor determined by the gamevar <sprite id> and save it to the gamevar.