InCone
The InCone condition lets you check if entities are in a cone.
Argument
Description
Default Value
angle
The angle, in degrees, of the cone.
0

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:
Mechanics:
- "CustomSound{sound=shoot.rpg7.loud, volume=6, noise=0.1}"
- "Damage{damage=10.0} @World{} ?Range{max=4} ?InCone{direction=~0 0 -1, angle=28}"Last updated