Jump to content

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!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...