A_DropWeaponPieces

From ZDoom Wiki
Revision as of 14:53, 23 August 2014 by Cpt. Carmack (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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