Difference between revisions of "IsLocationSafe"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) m (1 revision: Importing auto-generated function articles) |
BryanDerksen (Talk | contribs) (looks okay, removing tag) |
||
Line 1: | Line 1: | ||
− | |||
{{dafunction | {{dafunction | ||
|name=IsLocationSafe | |name=IsLocationSafe |
Latest revision as of 22:39, 24 February 2010
Used to test if a specific location is safe.
- Parameters:
- lLocation
- The location tested to see if it's safe
- Returns:
- TRUE on success, FALSE on error
- Source:
- script.ldf
Description
This function is used to test if a specific location is safe. A safe location is a walkable section of terrain that is not occupied by a creature. It should be noted that walkable also means that the specified location would not be occupied by a placeable object, unless the placeable object had no walkmesh.
Remarks
This function is expensive, and as such should not be called frequently if it can be helped.