#Jetpack Fuel System

1 messages · Page 1 of 1 (latest)

flat hollow
#

I’m assuming you’re using a trigger handle to enable to jet pack, so I’d make it so whenever the jet pack is enabled, you set a bool to true (naming the bool to something like “On”) and when the jetpack is off, as in it’s no longer taking fuel, you set the bool to false.
Then you can have a event receiver shooting a 30hz event into an if chip that connects to that same bool variable, and wire it to an int named fuel and have it connected to a subtract -1