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

From EDukeWiki
Jump to navigation Jump to search
m Categories
No edit summary
Line 12: Line 12:


Here is the list of the members for the sprite, hittype and spriteext structs, commonly used for [[actor]]s:
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%"
| width="33%" valign="top" style="border-right: none; padding: 0.6em;" |


*[[ang]]
*[[ang]]
Line 37: Line 40:
*[[zvel]]
*[[zvel]]


| width="33%" valign="top" style="border-right: none; border-left: none; padding: 0.6em;" |


*[[htactorstayput]]
*[[htactorstayput]]
Line 57: Line 61:
*[[httimetosleep]]
*[[httimetosleep]]


| width="33%" valign="top" style="border-left: none; padding: 0.6em;" |


*[[angoff]]
*[[angoff]]
Line 64: Line 69:
*[[pitch]]
*[[pitch]]
*[[roll]]
*[[roll]]
|}


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

Revision as of 19:37, 14 September 2006

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 actors: