Spawnwallstainedglass

From EDukeWiki
Jump to navigation Jump to search

spawnwallstainedglass <sprite id> <wall id> <glass count>

Calls the "spawn random glass" function, seen when the player shoots at the stained glass seen in E1L3 or the flashing statue in E3L1

This works by spawning GLASSPIECES randomly for the amount set in glass count for the wall segment.
The pieces will fall down in relation to where the light was shot from, typically facing the player and roughly from the height the bullet hit it.

Contrary to the name, it can be used with a wall ID set to -1 when paired with destructible sprites.


See also: spawnceilingglass spawnwallglass