InCone
Last updated
Last updated
The InCone
condition lets you check if entities are in a cone.
angle
The angle, in degrees, of the cone.
0
direction
~0 0 1
(forward)
In the diagram above, the angle
argument is the same thing as .
The InCone
argument defines an infinite cone. This means, that when you want to want to specify the distance (or the argument in the diagram above), you should use the Range condition as well.
This example creates an RPG_7
back blast effect in Shoot.Mechanics
:
The direction vector of the cone. Uses the serializer.