Setactorvar: Difference between revisions

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


Sets the value of the actor-in-question's <gamevar1> to the gamevar, <gamevar2>. <gamevar1> must be defined as a per-actor-variable for this to work. See [[setactor]].
Sets the value of the actor-in-question's <gamevar1> to the gamevar, <gamevar2>. <[[gamevar|gamevar1]]> must be defined as a per-actor variable.


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

Revision as of 19:21, 7 January 2011

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

Sets the value of the actor-in-question's <gamevar1> to the gamevar, <gamevar2>. <gamevar1> must be defined as a per-actor variable.