Main Page | Recent changes | Edit this page | Page history

Printable version | Disclaimers | Privacy policy

Not logged in
Log in | Help
 

Picnum

From EDukeWiki

picnum is the (.art) tile number of the sprite. Since actor types are defined by tile number, the picnum of a sprite determines the code that will be executed on it. For example, any sprite that is given a picnum of 2000 is thereby a PIGCOP (because the string 'PIGCOP' is defined as 2000) and will then execute the associated code.

In the code of a specific actor type, the picnum of the sprite executing the code is already known. But in certain events, such as EVENT_GAME, different actor types will execute the same onevent code, so getting the value of picnum can be very useful.

Retrieved from "http://localhost../../../p/i/c/Picnum.html"

This page has been accessed 102 times. This page was last modified 06:14, 7 September 2006 by Richard Gobeille. Based on work by Dan.


[Main Page]
Main Page
Recent changes
Random page
EDuke32.com

Edit this page
Discuss this page
Page history
What links here
Related changes

Special pages
Bug reports