Spawnwallstainedglass: Difference between revisions
Jump to navigation
Jump to search
Created page with "'''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.<br> 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, i..." |
(No difference)
|
Latest revision as of 09:47, 5 July 2025
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