Spawnceilingglass

From EDukeWiki
Revision as of 09:26, 5 July 2025 by Oasiz (talk | contribs) (Created page with "'''spawnceilingglass''' <sprite id> <sector id> <glass count> Calls the glass spawning function commonly seen when a player shoots a ceiling light. This works by iterating through the sector's walls and spawning GLASSPIECES for the amount set in glass count (+1) for each of the wall segments at a random location along the line.<br> The height for each piece is randomized inside a 5120 Z unit window, starting from the ceiling of the light sector. See also: spawnwallg...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

spawnceilingglass <sprite id> <sector id> <glass count>

Calls the glass spawning function commonly seen when a player shoots a ceiling light.

This works by iterating through the sector's walls and spawning GLASSPIECES for the amount set in glass count (+1) for each of the wall segments at a random location along the line.
The height for each piece is randomized inside a 5120 Z unit window, starting from the ceiling of the light sector.

See also: spawnwallglass spawnwallstainedglass