Members of the sprite, hittype, and spriteext structures: Difference between revisions
Jump to navigation
Jump to search
Mblackwell (talk | contribs) No edit summary |
No edit summary |
||
Line 15: | Line 15: | ||
Here is the list of Member Functions for [[actor]]s: | Here is the list of Member Functions for [[actor]]s: | ||
[[ang]] | *[[ang]] | ||
*[[clipdist]] | |||
[[clipdist]] | *[[cstat]] | ||
*[[extra]] | |||
[[cstat]] | *[[filler]] | ||
*[[hitag]] | |||
[[extra]] | *[[lotag]] | ||
*[[owner]] | |||
[[filler]] | *[[pal]] | ||
*[[picnum]] | |||
[[hitag]] | *[[sectnum]] | ||
*[[shade]] | |||
[[lotag]] | *[[statnum]] | ||
*[[x]] | |||
[[owner]] | *[[xoffset]] | ||
*[[xrepeat]] | |||
[[pal]] | *[[xvel]] | ||
*[[y]] | |||
[[picnum]] | *[[yoffset]] | ||
*[[yrepeat]] | |||
[[sectnum]] | *[[yvel]] | ||
*[[z]] | |||
[[shade]] | *[[zvel]] | ||
[[statnum]] | |||
[[x]] | |||
[[xoffset]] | |||
[[xrepeat]] | |||
[[xvel]] | |||
[[y]] | |||
[[yoffset]] | |||
[[yrepeat]] | |||
[[yvel]] | |||
[[z]] | |||
[[zvel]] |
Revision as of 04:11, 27 December 2004
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: