Members of the tsprite structure: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
No edit summary
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|tsprcstat]]
*[[extra|tsprextra]]
*[[extra|tsprextra]]
*[[filler|tsprdetail]]
*[[blend|tsprblend]]
*[[hitag|tsprhitag]]
*[[hitag|tsprhitag]]
*[[lotag|tsprlotag]]
*[[lotag|tsprlotag]]
Line 39: Line 23:
*[[zvel|tsprzvel]]
*[[zvel|tsprzvel]]


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

Revision as of 18:03, 3 April 2015