Ifspritepal: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
One (talk | contribs)
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
ifspritepal <pal> { do something } else { do something else }
'''ifspritepal''' <pal> { do something } else { do something else }


[[If condition]] returning true if the current [[actor]]'s [[pal]] is equal to <pal>.
[[If condition]] returning true if the current [[actor]]'s [[pal]] is equal to <pal>.


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

Latest revision as of 11:54, 4 May 2009

ifspritepal <pal> { do something } else { do something else }

If condition returning true if the current actor's pal is equal to <pal>.