How do you use DeathHeight and SolidOnDeath? I tried the following projectile decoration:
Code: Select all
projectile PHumanScaleTree
{
SpawnNum 255
Sprite TREX
Frames "A"
DeathSprite TREX
DeathFrames "AA"
Radius 16
Height 128
DeathHeight 128
SolidOnDeath
Speed 70
Damage 0
NoBlockmap
NoGravity
NoTeleport
}
But when I run ZDoom, it gives me this error:
Code: Select all
Script error, "DECORATE" line 10:
Bad syntax.
I've also tried with no number, and the number in quotes, but I get the same error. The same "Bad syntax" error appears for line 11, "SolidOnDeath". So how do you use them?