Parameters |
Description |
actionName |
smart action name |
usedEntityId |
entity id of the user who needs to execute the smart action or a nil if user is unknown |
objectEntityId |
entity id of the object on which the smart action needs to be executed or a nil if objects is unknown |
vRefPoint |
(optional) point to be used instead of user's attention target position |
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.SmartObjectEvent( actionName, userEntityId, objectEntityId [, vRefPoint] )
Executes a smart action
Copyright (c) 2012. All rights reserved.
|