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

From EDukeWiki
Jump to navigation Jump to search
m Undo the undo back. It shell be in the future.
Updated according to the latest available snapshot
Line 72: Line 72:
*[[xpanning]]
*[[xpanning]]
*[[ypanning]]
*[[ypanning]]
*[[htflags]]
|}
|}


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

Revision as of 07:24, 22 August 2008

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: