Count: Difference between revisions
Mblackwell (talk | contribs) mNo edit summary  | 
				No edit summary  | 
				||
| (2 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
count <number>  | '''count''' <number>  | ||
Sets the [[actor]]'s count to <number>. 1 is added to count every [[actor]] code cycle. Use [[ifcount]] to check the value of count, and [[resetcount]] to reset an [[actor]]'s count back to 0.  | Sets the [[actor]]'s count to <number>. 1 is added to count every [[actor]] code cycle. Use [[ifcount]] to check the value of count, and [[resetcount]] to reset an [[actor]]'s count back to 0.  | ||
[[Category:Duke3D 1.3/1.5 commands]]  | |||
[[Category:Sprite manipulation]]  | |||
Latest revision as of 11:01, 4 May 2009
count <number>
Sets the actor's count to <number>. 1 is added to count every actor code cycle. Use ifcount to check the value of count, and resetcount to reset an actor's count back to 0.