Jump to content

Question - Trigger buff when block is damaged, similar to the shock buff from vending machines


TylerMarva

Recommended Posts

Trying to figure a way to trigger a buff when you damage a custom block I created, I technically got it working by using the VendingMachine class, however the block in question now fuctions as a vending machine with the press e to interact and all that.

 

Alternatively what could be used as an aoe buff like the campfire however that only happens when the block is "active" and this block is not a workbench so i dont know how to make it appear as active as the default state when placing it down.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...