Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
CScriptBind_AI::SoundEvent Method
Syntax
C++
int SoundEvent(IFunctionHandler* pH);
Parameters 
Description 
position 
of the origin of the sound event 
radius 
in which this sound event should be heard 
threat 
value of the sound event  
interest 
value of the sound event 
entityId 
of the entity who generated this sound event 

!

AI.SoundEvent(position, radius, threat, interest, entityId)

! Generates a sound event in the AI system with the given parameters.!  

!  

!  

!  

!

Copyright (c) 2012. All rights reserved.