Spritenoshade: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
One (talk | contribs)
No edit summary
No edit summary
Line 1: Line 1:
'''spritenoshade''' <tilenum>
'''spritenoshade''' <tilenum>


Causes [[sprite]] <tilenum> to be unaffected by the [[shade]] of the [[sector]] it is in.
Causes [[sprite]] <tilenum> to be unaffected by the [[shade]] of the [[sector]] it is in.  This command should be used outside of actors, states or events (like a definition).


If you want an [[actor]] to glow like some projectiles in the game, use this together with [[setactor]]<nowiki>[</nowiki>[[THISACTOR]]<nowiki>]</nowiki>.[[shade]] -127 and/or the [[flash]] parameter.
If you want an [[actor]] to glow like some projectiles in the game, use this together with [[setactor]]<nowiki>[</nowiki>[[THISACTOR]]<nowiki>]</nowiki>.[[shade]] -127 and/or the [[flash]] parameter.

Revision as of 11:47, 10 June 2010

spritenoshade <tilenum>

Causes sprite <tilenum> to be unaffected by the shade of the sector it is in. This command should be used outside of actors, states or events (like a definition).

If you want an actor to glow like some projectiles in the game, use this together with setactor[THISACTOR].shade -127 and/or the flash parameter.