Spawnwallglass: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Created page with "'''spawnwallglass''' <sprite id> <wall id> <glass count> Calls the glass spawning function commonly seen when a player shoots a wall light. 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. See also: spawnceilingglass spawnwallstainedglass Category:EDuke32_spe..."
 
No edit summary
Line 1: Line 1:
'''spawnwallglass''' <sprite id> <wall id> <glass count>
'''spawnwallglass''' <sprite id> <wall id> <glass count>


Calls the glass spawning function commonly seen when a player shoots a wall light.
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.<br>
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.
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, many common sprites often call this with the wall ID set to -1 when destroyed.


See also: [[spawnceilingglass]] [[spawnwallstainedglass]]
See also: [[spawnceilingglass]] [[spawnwallstainedglass]]

Revision as of 09:45, 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, many common sprites often call this with the wall ID set to -1 when destroyed.

See also: spawnceilingglass spawnwallstainedglass