Getlastpal: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
Sets the current [[actor]]'s palette to what it was prior to using [[spritepal]].
Sets the current [[actor]]'s palette to what it was prior to using [[spritepal]]. Similar to [[VENT_ANIMATESPRITES]] this won't affect the actor code, but will change how it is drawn onscreen, for example the NEWBEAST will still spawn green jibs as if it was using palette 6 without displaying it.


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

Revision as of 00:03, 24 January 2009

Sets the current actor's palette to what it was prior to using spritepal. Similar to VENT_ANIMATESPRITES this won't affect the actor code, but will change how it is drawn onscreen, for example the NEWBEAST will still spawn green jibs as if it was using palette 6 without displaying it.