Report this content
We want the Dreams coMmunity to be a safe, diverse and tolerant place for everyone, no matter their age, gender, race, sexual orientation or otherwise. If you believe this content to contradict these principles, you can file a report for our coMmunity teams to investigate.
Note that misuse of the reporting tool will not be tolerated.Item being reported:
So you have the animation that plays on a button press? Put that inside its own logic chip.
Wire the Power input of that chip to a counter that defaults at 0 and has a max value of 1.
So the chip is off by default. When the player picks up the weapon you want a single trigger to change all your states. Maybe that's just the player coming within 0.1m. Then you have that condition wired to permanently increment the counter to 1.
This will turn on the chip and make the animation available. You could also use that counter to
• make the weapon visible on the avatar
• destroy the weapon that was on the floor (because it was just picked up)