Spawnwallglass: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
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. | 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, | Contrary to the name, it can be used with a wall ID set to -1 when paired with destructible sprites. | ||
See also: [[spawnceilingglass]] [[spawnwallstainedglass]] | See also: [[spawnceilingglass]] [[spawnwallstainedglass]] |
Latest revision as of 09:48, 5 July 2025
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