Members of the tsprite structure: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
m categories
Fox (talk | contribs)
No edit summary
 
(2 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 39: Line 23:
*[[zvel|tsprzvel]]
*[[zvel|tsprzvel]]


[[Category:Structure member documentation]]
[[Category:Structure access]]
[[Category:Sprite manipulation]]
[[Category:Sprite manipulation]]
__NOTOC__

Latest revision as of 17:02, 20 February 2020