Members of the sprite, hittype, and spriteext structures

From EDukeWiki
Revision as of 15:55, 6 September 2005 by TX (talk | contribs)
Jump to navigation Jump to search

Actor Member Functions effect all actors in the game by their sprite id.

Syntax:

<get/set>actor[<sprite id>].<functionname> <gamevar>

<get/set> - getactor to set the gamevar <gamevar> to the value of <functionname>. setactor to set the value of <functionname> 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.

<functionname> is the name of the Member Function you want to use.

<gamevar> is the gamevar to get or set the value of.

Here is the list of Member Functions for actors: