Well say you want the handle of the tree your player is collided with.
Players are collision type 1
Trees are collision type 2
Ground is collision type 3
(these above are just example collision type numbers, you set them with the EntityType command)
You can't just check for generic collisions, becuase your player will probably be collided with the tree and the ground. So you are just looking for what tree hes collided with, which is type 2.
CollidedTreeName = EntityCollided(Player,2)
Players are collision type 1
Trees are collision type 2
Ground is collision type 3
(these above are just example collision type numbers, you set them with the EntityType command)
You can't just check for generic collisions, becuase your player will probably be collided with the tree and the ground. So you are just looking for what tree hes collided with, which is type 2.
CollidedTreeName = EntityCollided(Player,2)