No comments really…
what type of effect are you looking for? Most of the effects can be “placed” on a player by centering the effect on them. If you are having trouble seeing the effect, try increasing the radius
No, i mean like… not in your face, 2 meters away in front of you. The effect is a sphere
I’m guessing you want the distance to be constant? That will involve vectors, which I don’t fully understand, I will try to get something working, but I’m not great with it.
let’s see if I can remember… you need to add your position (eye position is the easiest to determine it) with the product of your position and the range…
So, when selecting create effect, scroll to position…
Position: Add
Value: eye position
Player: event player
Value: Multiply
Value: eye position
Player: event player
Value: number
Number: 20 (meters, this is the range)
This should do the trick… it’s better if you store it in a player variable since my guess is that you’ll be using this “target” for something else on top of the effect
oh also, I believe eye position makes the effect “follow” you meaning that you create the effect and the effect moves with you, if you want to create the effect and keep it in place then you have to use:
Value: position of
Player: event player
ray cast hit position(eye position(event player), add(eye position(event player), multiply(facing direction of(event player), 20)))
20 is the maximum distance. If you dont want to have collision you can use what Hige wrote, but instead of multiplying the eye position you multiply the facing direction:
add(eye position(event player), multiply(facing direction of(event player), 20))