Download

Player able to chop tree, let tree disappear after * hits, and respawn?

Hi,

so I created my map, with trees. What I wanted to make is: the player hits the a tree, and after * hits the tree disappears and respawns after * time at the same location.
Also, players can build houses. How can I make a tree not respawn if a house is at the location of the tree? (so there won’t be a tree in the house)

Please help me with this, I would really appreciate it!

I’m sorry if this is on the wrong forum.

Well you could take a respawn timer for the tree, and once the timer is hit, run a collision check for the house mesh(s) or maybe just a special “house” volume. Take the result of that check and feed it into a branch as a boolean. If true, the tree doesn’t respawn and you could choose to run another timer to check again later in the even the house was removed, if false the tree respawns as you wanted.

This was just off the top of my head, I suspect depending on the number of players/trees/houses I suppose running the timers could become resource intensive.