Statnum: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
 
Lists made from outdated, 10+ year old source code comments are bad. :)
Line 2: Line 2:


Some statnums also have certain properties attached to them. For example, actors with a statnum of 5 (moveweapons) cannot be killed with the [[killit]] primitive. In order for them to be killed their statnum has to be changed with [[changespritestat]].
Some statnums also have certain properties attached to them. For example, actors with a statnum of 5 (moveweapons) cannot be killed with the [[killit]] primitive. In order for them to be killed their statnum has to be changed with [[changespritestat]].
Below is a list of statnums that can be put into DEFS.CON for easy editing.
// Statnums
define moveactors      1
define movefta          2
define moveeffectors    3
define moveexplosions  4
define moveweapons      5
define movestandables  6
define movetransports  9
define moveplayers    10
define movefallers    12

Revision as of 11:10, 16 October 2006

Statnums are used by the game internally to see whether something is an actor, player, projectile, etc...

Some statnums also have certain properties attached to them. For example, actors with a statnum of 5 (moveweapons) cannot be killed with the killit primitive. In order for them to be killed their statnum has to be changed with changespritestat.