A_DropWeaponPieces
A_DropWeaponPieces (string p1 , string p2 , string p3)
Spawns all three items with a slight random outward momentum from the calling actor.
Examples
When this imp is defeated, it drops a pool of blood, a blue key and a slowly moving fireball to potentially hurt the killer even after death.
Death:
TROO I 8
TROO J 8 A_Scream
TROO K 6
TNT1 A 0 A_DropWeaponPieces("SmallBloodPool","BlueCard","DoomImpBall") // to simulate DropItem, it has to be called together w/ A_Fall
TROO L 6 A_Fall
TROO M -1
stop
This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.