Difference between revisions of "Osiris/API/HasLineOfSight"

From Divinity Engine Wiki
Jump to: navigation, search
(Created page with "===== Full Definition(s) ===== * call '''CharacterIgnoreActiveCrimes'''('''[in]'''''(GUIDSTRING)'''''_source''', '''[in]'''''(GUIDSTRING)'''''_target''', '''[out]'''''(INTEGER...")
(No difference)

Revision as of 16:13, 28 August 2018

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.