Help with a powerup item
Posted: Mon May 01, 2006 21:35
I want to make my QuadDamage powerup make a sound when it's wearing out. Is there a way to do this, Decorate or Fragglescript-wise?
This is what I have so far:
This is what I have so far:
Code: Select all
ACTOR QuadDamage : PowerupGiver 86
{
+INVENTORY.ALWAYSPICKUP
+INVENTORY.AUTOACTIVATE
+COUNTITEM
scale 0.8
Inventory.MaxAmount 0
Inventory.PickupSound "items/quaddamage"
Inventory.PickupMessage "quad damage!"
powerup.color "44 55 aa" 25
powerup.duration 700
powerup.type "WeaponLevel2"
states
{
Spawn:
PQUA ABCDEFGH 3 BRIGHT
Loop
}
}