Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
CScriptBind_AI::GetEnclosingGenericShapeOfType Method
Syntax
C++
int GetEnclosingGenericShapeOfType(IFunctionHandler* pH);
Parameters 
Description 
position 
the position to check 
type 
the type of the shapes to check against (uses anchor types). 
checkHeight 
(optional) Default=false, if the flag is set the height of the shape is tested too. ! The test will check space between the shape.aabb.min.z and shape.aabb.min.z+shape.height. 

the name of the first shape that is enclosing the specified point and is of specified type

!

AI.GetEnclosingGenericShapeOfType(position, type[, checkHeight])

!  

!  

!  

!  

GetEnclosingGenericShapeOfType

Copyright (c) 2012. All rights reserved.