Members of the sprite, hittype, and spriteext structures: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
Syntax: | Syntax: | ||
<get/set>actor[<sprite id>].< | <get/set>actor[<sprite id>].<member> <gamevar> | ||
<get/set> - getactor to set the [[gamevar]] <gamevar> to the value of < | <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. | <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. | <gamevar> is the [[gamevar]] to get or set the value of. | ||
Here is the list of | Here is the list of the members for the sprite, hittype and spriteext structs, commonly used for [[actor]]s: | ||
*[[ang]] | *[[ang]] | ||
Line 38: | Line 36: | ||
*[[z]] | *[[z]] | ||
*[[zvel]] | *[[zvel]] | ||
*[[htactorstayput]] | *[[htactorstayput]] | ||
Line 57: | Line 56: | ||
*[[httempang]] | *[[httempang]] | ||
*[[httimetosleep]] | *[[httimetosleep]] | ||
*[[angoff]] | *[[angoff]] |
Revision as of 15:57, 6 September 2005
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:
- ang
- clipdist
- cstat
- extra
- filler
- hitag
- lotag
- owner
- pal
- picnum
- sectnum
- shade
- statnum
- x
- xoffset
- xrepeat
- xvel
- y
- yoffset
- yrepeat
- yvel
- z
- zvel
- htactorstayput
- htang
- htbposx
- htbposy
- htbposz
- htceilingz
- htcgg
- htdispicnum
- htextra
- htfloorz
- htg_t
- htlastvx
- htlastvy
- htmovflag
- htowner
- htpicnum
- httempang
- httimetosleep