Osiris/API/HasLineOfSight

From Divinity Engine Wiki
Revision as of 17:13, 28 August 2018 by Kevin (talk | contribs) (Created page with "===== Full Definition(s) ===== * call '''CharacterIgnoreActiveCrimes'''('''[in]'''''(GUIDSTRING)'''''_source''', '''[in]'''''(GUIDSTRING)'''''_target''', '''[out]'''''(INTEGER...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Full Definition(s)
  • call CharacterIgnoreActiveCrimes([in](GUIDSTRING)_source, [in](GUIDSTRING)_target, [out](INTEGER)_bool)
Description

Checks if there's a line of sight between source and target.
Basically, a simple 3D line check.
Doesn't take into account sneaking, statuses or anything else.