When in the presence of someone...

I already know how to do “Instead of (doing something) in the presence of so-and-so”, but I seem to be having trouble with checking IF the player is in the presence of someone at a particular time.

For example, I want something to happen every turn, but only if the player is in the presence of someone.

I’ve tried “Every turn while/when in the presence of Grandpa”, as well as separating the presence into it’s own if statement (“If in the presence of Grandpa”), but all I keep getting is errors.

I think this is “…if the player can see Grandpa”.

(I’m not sure why action descriptions have a non-generalized way to say it.)

Thanks, it seems to work.

Wouldn’t it be Every turn in the presence of Grandpa… rather than having the when/while word there?