Angoff: Difference between revisions
Jump to navigation
Jump to search
Doom64hunter (talk | contribs) mNo edit summary |
Doom64hunter (talk | contribs) mNo edit summary |
||
Line 3: | Line 3: | ||
<span {{code}}>'''angoffvar''' <value> </span> | <span {{code}}>'''angoffvar''' <value> </span> | ||
Sets the angle offset for a 3D model assigned to | 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}} | {{varsuffix}} |
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.