Gettspr: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
New page: gettspr[<tsprite ID>].member <gamevar> The members of the tsprite array are the sprites that are drawn on screen at a given time. ''The tsprite array should not be confused with the game...
 
Automatically fixing double redirect from Structure access to Category:Structure access in a maintenance job
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
gettspr[<tsprite ID>].member <gamevar>
#REDIRECT [[Category:Structure access]]


The members of the tsprite array are the sprites that are drawn on screen at a given time.  ''The tsprite array should not be confused with the game world sprite array that is accessed with'' [[getactor]] and [[setactor]] ''commands.''
[[Category:EDuke32 specific commands]]
 
[[Category:Sprite manipulation]]
Members of the tsprite array are counterparts of the actor array, and have similar names, except that member names in the tsprite array begin with 'tspr'.
[[Category:Gamevar manipulation]]
 
The [[settspr]] and gettspr commands should be used in [[EVENT_ANIMATESPRITES]].  See the entry for that event for more details.
 
Example of usage:
 
gettspr[THISACTOR].tsprcstat TEMP

Latest revision as of 14:29, 31 May 2020