[DECORATE] (Solved) A_takeinventory health not working?
Posted: Mon May 01, 2017 5:53 pm
Currently trying to make a weapon where the altfire does twice the regular damage but at the cost of health but a_takeinventory doesn't seem to work on health. If its not the way to make that work then ima need you guys' help. Here's my code:
Code: Select all
AltFire:
TNT1 A 0 A_PlaysoundEx("Deagle11","Weapon")
BZDA B 1 bright A_FireBullets (1.5, 1.5, 1, 30, "BulletPuff")
BZDA C 1 bright A_TakeInventory ("health", 5)
BZDA DEF 1
BZDA A 6
1DE1 B 0 A_ReFire
Goto Ready