Sign in to follow this  
ConcededGore

How to point a PushEvent at a different prefab?

Recommended Posts

I am currently attempting to make garlands have a fuel value (which I was able to do easily), but I want the fuel value to degrade as the garland gets stale. To do this I need to constantly check the state of the garland, and this is where I ran into trouble. The best solution I've been able to think of was to hook into the "newstate" event on bees (or any other creature) and try to fire the update function, but that didn't work since that event isn't targeted at the flowerhat prefab. Then I tried to push a custom event to the flowerhat prefab, but I don't know how to target a specific prefab. Any help would be appreciated!

Share this post


Link to post
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

Sign in to follow this