Setuserdef: Difference between revisions

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


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

Revision as of 01:41, 11 August 2008

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

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