// CalcSafeLocation
// Created By:  Brock Heinz - OEI
// Created On:  02/10/06
// Description: This will attempt to find a position that oCreature can stand in
// Arguments:
//  oCreature       - The creature to generate a safe location for
//  lTestPosition   - The position that you want to generate a safe location near
//  fSearchRadius   - How far away from lTestPosition to carry out the search
//  bWalkStraighLineRequired - If TRUE, then this will only return a position that
//                              can be pathed directly to by oCreature
//  bIgnoreTestPosition - If TRUE, then lTestPosition won't be considered 
//                        as one of the possible nearby search locations
// Returns: A location that oCreature can stand in. If no location is found, 
//          then it returns the creature's current location. 
location CalcSafeLocation( object oCreature, location lTestPosition, float fSearchRadius, int bWalkStraighLineRequired, int bIgnoreTestPosition );

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.