Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
GetSmartObjectHelper
Syntax
C++
int GetSmartObjectHelper(IFunctionHandler* pH);
Parameters 
Description 
entityId 
entity id 
className 
SO class name 
helperName 
SO helper name 

0 if smart object rule wasn't found or a non-zero unique id of the goal pipe inserted to execute the action 

 

Syntax: AI.GetSmartObjectHelper( entityId, className, helperName ) 

Returns table with position and direction vector of given SO helper

Copyright (c) 2012. All rights reserved.