Getactorvar: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
mNo edit summary
Automatically fixing double redirect from Structure access to Category:Structure access in a maintenance job
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
getactorvar[<[[sprite id]]>].<[[gamevar|gamevar1]]> <[[gamevar|gamevar2]]>
#REDIRECT [[Category:Structure access]]
 
Use getactorvar to set the value of the [[gamevar]] <[[gamevar|gamevar2]]> to the value of <[[gamevar|gamevar1]]> within the [[actor]] determined by the [[gamevar]] <[[sprite id]]>. See [[Actor Member Functions]]. <[[gamevar|gamevar1]]> must be defined as a "per-actor-variable" for this to work.


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

Latest revision as of 15:29, 31 May 2020