One eighty count - EDukeWiki

# One eighty count

From EDukeWiki

If one_eighty_count is less than zero, then 128 is added to one_eighty_count and ang. (this lets the player turn a set angle over time...) This is set on key TURNAROUND to -1024. To completely emulate what is being done during EVENT_TURNAROUND, just set one_eighty_count to -1024.

    actor APLAYER MAXPLAYERHEALTH PSTAND 0 0

      ifhitspace
        setplayer[THISACTOR].one_eighty_count -1024

      ifaction 0
        action PSTAND
    ...

Retrieved from "http://wiki.eduke32.com/w/index.php?title=One_eighty_count&oldid=5106"
Category:

- Player structure members