Finds path at very start but that path has trees in it?

Seems I need help with the coordinate labeler… or wait, ME

WHen i place a tree on a tile I should mark that tile as ??? isPlaceable = true Checked in ispector?
OR Unchecked in Inspector?

Thanks

Hi Steve,

If there is a tree on a waypoint/node/block/cube, you probably don’t want to allow the player to place a tower there, do you? There is no right or wrong answer to this question as this is a pure matter of personal preference.

If you don’t want to allow the player to place a tower or something else on a waypoint with a tree, set isPlaceable to false. Your code is going to check the value of isPlaceable during runtime to determine whether it is allowed to spawn a tower on a specific waypoint.

Did this clear it up for you? :slight_smile:


See also:

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms