Members of the tsprite structure: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
New page: The tsprite struct triggered only by drawn sprites when 16 has been added to the mdflags member of the corresponding sprite in the game world. Drawn sprites are accessed through the tspri...
 
Fox (talk | contribs)
No edit summary
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
Syntax:
<get/set>tspr[<sprite id>].<member> <gamevar>
<get/set> - gettspr to set the [[gamevar]] <gamevar> to the value of <member>. settspr to set the value of <member> to the [[gamevar]] <gamevar>.
<sprite id> is the reference number for a sprite. Use THISACTOR to set <sprite id> to the current [[actor]]'s reference number.
<member> is the name of the member of the struct you want to set or get.
<gamevar> is the [[gamevar]] to get or set the value of.
Here is the list of the members for the tsprite struct:
*[[ang|tsprang]]
*[[ang|tsprang]]
*[[clipdist|tsprclipdist]]
*[[clipdist|tsprclipdist]]
*[[cstat|tsprcstat]]
*[[cstat (sprite)|tsprcstat]]
*[[extra|tsprextra]]
*[[extra|tsprextra]]
*[[filler|tsprdetail]]
*[[blend|tsprblend]]
*[[hitag|tsprhitag]]
*[[hitag|tsprhitag]]
*[[lotag|tsprlotag]]
*[[lotag|tsprlotag]]
*[[owner|tsprowner]]
*[[tsprowner]]
*[[pal|tsprpal]]
*[[pal|tsprpal]]
*[[picnum|tsprpicnum]]
*[[tsprpicnum]]
*[[sectnum|tsprsectnum]]
*[[sectnum|tsprsectnum]]
*[[shade|tsprshade]]
*[[shade|tsprshade]]
Line 38: Line 22:
*[[z|tsprz]]
*[[z|tsprz]]
*[[zvel|tsprzvel]]
*[[zvel|tsprzvel]]
[[Category:Structure access]]
[[Category:Sprite manipulation]]
__NOTOC__

Latest revision as of 17:02, 20 February 2020