Getlastpal: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
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.
'''getlastpal'''
 
Sets the current [[actor]]'s palette to what it was prior to using [[spritepal]]. The value that it reverts to is stored in the [[httempang]] member.
 
See [[pal]] for more information about palette swaps.


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

Latest revision as of 18:01, 26 September 2009

getlastpal

Sets the current actor's palette to what it was prior to using spritepal. The value that it reverts to is stored in the httempang member.

See pal for more information about palette swaps.