Members of the sprite, hittype, and spriteext structures

From EDukeWiki
Revision as of 13:01, 17 September 2008 by Hunter byte (talk | contribs)
Jump to navigation Jump to search

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: