Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
CreateStimulusEvent
Syntax
C++
int CreateStimulusEvent(IFunctionHandler * pH, ScriptHandle ownerId, ScriptHandle targetId, const char* stimulusName, SmartScriptTable pData);
Parameters 
Description 
ScriptHandle ownerId 
Owner's entity id (who owns and is receiving the event) 
ScriptHandle targetId 
Target's entity id (who sent the event, and becomes owner's perceived target) 
const char* stimulusName 
Name of the stimulus event 
SmartScriptTable pData 
Data about the event (see TargetTrackHelpers::SStimulusEvent) 

Syntax: AI.CreateStimulusEvent(entityId, targetId, stimulusName, pData) 

Creates a target track stimulus event for the entity using the specified data

Copyright (c) 2012. All rights reserved.