Members of the sprite, hittype, and spriteext structures: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
Syntax:
<get/set>actor[<sprite id>].<member> <gamevar>
<get/set> - getactor to set the [[gamevar]] <gamevar> to the value of <member>. setactor 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 sprite, hittype and spriteext structs, commonly used for [[actor]]s:
{| cellpadding="0" cellspacing="0" border="0" width="100%"
{| cellpadding="0" cellspacing="0" border="0" width="100%"
| width="33%" valign="top" style="border-right: none; padding: 0.6em;" |
| width="33%" valign="top" style="border-right: none; padding: 0.6em;" |
Line 21: Line 7:
*[[cstat]]
*[[cstat]]
*[[extra]]
*[[extra]]
*[[filler|detail]]
*[[blend]]
*[[hitag]]
*[[hitag]]
*[[lotag]]
*[[lotag]]
Line 79: Line 65:
|}
|}


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

Revision as of 19:01, 3 April 2015