Killit: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
you're thinking of addkills
Line 1: Line 1:
'''killit'''
'''killit'''


Used within an [[actor]]'s code in order to delete it from a map. This also adds 1 to the amount of killed actors on the map.
Used within an [[actor]]'s code in order to delete it from a map.  


Using [[sizeat]] 0 0 has the same effect.  
Setting the sprite's [[xrepeat]] to 0 using [[setactor]], [[sizeat]], or [[sizeto]] has the same effect.  


[[Category:Duke3D 1.3/1.5 commands]]
[[Category:Duke3D 1.3/1.5 commands]]
[[Category:Sprite manipulation]]
[[Category:Sprite manipulation]]

Revision as of 13:16, 27 March 2011

killit

Used within an actor's code in order to delete it from a map.

Setting the sprite's xrepeat to 0 using setactor, sizeat, or sizeto has the same effect.