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

From EDukeWiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 38: Line 38:
*[[z]]
*[[z]]
*[[zvel]]
*[[zvel]]
*[[htactorstayput]]
*[[htang]]
*[[htbposx]]
*[[htbposy]]
*[[htbposz]]
*[[htceilingz]]
*[[htcgg]]
*[[htdispicnum]]
*[[htextra]]
*[[htfloorz]]
*[[htg_t]]
*[[htlastvx]]
*[[htlastvy]]
*[[htmovflag]]
*[[htowner]]
*[[htpicnum]]
*[[httempang]]
*[[httimetosleep]]
*[[angoff]]
*[[mdxoff]]
*[[mdyoff]]
*[[mdzoff]]
*[[pitch]]
*[[roll]]

Revision as of 15:55, 6 September 2005

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: