Spritenoshade: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 3: Line 3:
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).
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 <code>[[setactor]]<nowiki>[</nowiki>[[THISACTOR]]<nowiki>]</nowiki>.[[shade]] -127</code> and/or the [[flash]] parameter.


See [[htflags]].
See [[htflags]].

Latest revision as of 00:22, 28 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.