Getactorvar: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
LordMisfit (talk | contribs)
mNo edit summary
mNo edit summary
Line 4: Line 4:


[[Category:EDuke commands]]
[[Category:EDuke commands]]
[[Category:Sprite manipulation]]
[[Category:Gamevar manipulation]]
[[Category:Gamevar manipulation]]

Revision as of 13:50, 21 April 2008

getactorvar[<sprite id>].<gamevar1> <gamevar2>

Use getactorvar to set the value of the gamevar <gamevar2> to the value of <gamevar1> within the actor determined by the gamevar <sprite id>. See Actor Member Functions. <gamevar1> must be defined as a "per-actor-variable" for this to work.