Aller au contenu

Photo

How to Determine if a Placeable is Seen?


  • Veuillez vous connecter pour répondre
2 réponses à ce sujet

#1
Thayan

Thayan
  • Members
  • 244 messages

I'm wondering if anyone has an idea for setting up a script to determine if a placeable is seen by a PC? GetObjectSeen would be perfect for what I need, but of course it doesn't work with placeables. Has anyone developed a homebrew function or some other method to do this?



#2
henesua

henesua
  • Members
  • 3 879 messages

Can check for line of sight?



#3
Thayan

Thayan
  • Members
  • 244 messages

Oh man - now I feel really smart. I forgot about the parameter in the GetFirst/Next Object functions and I never knew the LineOfSight functions existed. :P But after browsing through their description in the Lexicon, it looks like that should work for what I need.

 

Thanks henesua!