Spawnwallglass
Jump to navigation
Jump to search
spawnwallglass <sprite id> <wall id> <glass count>
Calls the glass spawning function commonly seen when a player shoots a wall light, various props such as bottles or glass windows.
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 spawnwallstainedglass