Spritenoshade: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(6 intermediate revisions by 5 users not shown)
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 <code>[[setactor]]<nowiki>[</nowiki>[[THISACTOR]]<nowiki>]</nowiki>.[[shade]] -127</code> and/or the [[flash]] parameter.
 
See [[htflags]].


[[Category:EDuke32 specific commands]]
[[Category:EDuke32 specific commands]]
[[Category:Sprite manipulation]]
[[Category:Sprite manipulation]]

Latest revision as of 23:22, 27 February 2014

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.

See htflags.