Sleeptime: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Hendricks266 (talk | contribs) No edit summary |
||
Line 2: | Line 2: | ||
Changes [[actor]] "sleep" counter to <count>. The actor's "sleep" counter is incremented once per tic if the player is less than 30000 units away. The actor is put back to "sleep" once the counter reaches 32767 and the player is a certain distance away. | Changes [[actor]] "sleep" counter to <count>. The actor's "sleep" counter is incremented once per tic if the player is less than 30000 units away. The actor is put back to "sleep" once the counter reaches 32767 and the player is a certain distance away. | ||
The counter can be accessed via the [[httimetosleep]] member. | |||
[[Category:Duke3D 1.3/1.5 commands]] | [[Category:Duke3D 1.3/1.5 commands]] | ||
[[Category:Sprite manipulation]] | [[Category:Sprite manipulation]] |
Latest revision as of 00:06, 23 February 2012
sleeptime <count>
Changes actor "sleep" counter to <count>. The actor's "sleep" counter is incremented once per tic if the player is less than 30000 units away. The actor is put back to "sleep" once the counter reaches 32767 and the player is a certain distance away.
The counter can be accessed via the httimetosleep member.