I'm trying to use the veclightpos thing, but have no clue how....
if(vec_dist(player.pos,active_light.pos) > 300)
{
stealth_trigger = 1;
}
See I'm still a little lost here. This works, but how would I go about comparing it to the light range. As right now it's comparing it to the lights position, instead of the light range? If that even makes sense. I'm a little dumb when it comes to scripting. As you can see I have no idea how to use the veclight thing.