Jump to content

Recommended Posts

Are you saying you want it to have an "aura" effect which damages trees within range? If so, the game's aura should be good enough if you make it decrease health on anything with a "tree" tag (I think that's the tag). Just make the chainsaw add the aura on equip and remove it on unequip.

If you mean doing it via click action, then you can use a time check (last_damaged or something) with a custom action bound to the mouse. This would involve an action, a component action and a stategraph. The actual behavior for the cutting would then be placed in a component that's assigned to your chainsaw.

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...