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

From EDukeWiki
Jump to navigation Jump to search
Updated according to the latest available snapshot
No edit summary
Line 20: Line 20:
*[[cstat]]
*[[cstat]]
*[[extra]]
*[[extra]]
*[[filler]]
*[[filler|detail]]
*[[hitag]]
*[[hitag]]
*[[lotag]]
*[[lotag]]

Revision as of 13:01, 17 September 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: