Angoff: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Doom64hunter (talk | contribs) mNo edit summary |
||
(7 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
angoff < | <span {{code}}>'''angoff''' <value></span> | ||
Sets the angle offset for | <span {{code}}>'''angoffvar''' <value> </span> | ||
Sets the angle offset for a 3D model assigned to the current [[actor]]. When set, the angle of the [[actor]]'s 3D model will be rendered offset by ''<number>''. | |||
Can also be directly set for other sprites by accessing the ''angoff'' member of the [[Members_of_the_sprite,_hittype,_and_spriteext_structures|spriteext struct]]. | |||
{{varsuffix}} | |||
[[Category:EDuke32 specific commands]] | |||
[[Category:Sprite manipulation]] |
Latest revision as of 00:42, 12 January 2021
angoff <value>
angoffvar <value>
Sets the angle offset for a 3D model assigned to the current actor. When set, the angle of the actor's 3D model will be rendered offset by <number>.
Can also be directly set for other sprites by accessing the angoff member of the spriteext struct.
Commands with an additional "var" suffix take gamevars rather than constants or defined labels for their inputs. As an alternate short form, "varvar" can be dropped from these commands; for example ife serves an an alias for ifvarvare.