Currently I have it like this:
Code: Select all
ACTOR Points : CustomInventory
{
Inventory.PickupMessage ""
+ALWAYSPICKUP
}Code: Select all
ACTOR Points : CustomInventory
{
Inventory.PickupMessage ""
+ALWAYSPICKUP
}... and remove the pickup messageIchor wrote:That just makes it play no sound when it's picked up...
actor thing1 : BlurSphere
{
}
actor thing2 : BlurSphere
{
+inventory.quiet
}
Code: Select all
ACTOR SmallStylePoints : CustomInventory
{
Inventory.PickupMessage ""
Inventory.PickupSound "items/stylepoints"
RenderStyle Add
Scale 0.125
+INVENTORY.ALWAYSPICKUP
States
{
Spawn:
EBLL ABCDEFGHIJ 1
Loop
Pickup:
TNT1 A 0 A_GiveInventory("StylePoints",1)
TNT1 A 0 A_ChangeFlag ("ACTLIKEBRIDGE", 0)
Stop
}
}Code: Select all
ACTOR SmallStylePoints : CustomInventory
{
RenderStyle Add
Scale 0.125
+INVENTORY.ALWAYSPICKUP
+Inventory.Quiet
States
{
Spawn:
EBLL ABCDEFGHIJ 1
Loop
Pickup:
TNT1 A 0 A_PlaySoundEx("items/stylepoints","SoundSlot7")
TNT1 A 0 A_GiveInventory("StylePoints",1)
TNT1 A 0 A_ChangeFlag ("ACTLIKEBRIDGE", 0)
Stop
}
}Uh, yeah, apparently that does work - I edited my post with that information at about the same time you posted. Confusing.DBThanatos wrote:Im shooting in the dark, but can you play a sound in the Pickup state? that'd do it (i guess)
