Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
CScriptBind_Action::SetAimQueryMode Method
Syntax
C++
int SetAimQueryMode(IFunctionHandler* pH, ScriptHandle entityId, int mode);
Parameters 
Description 
ScriptHandle entityId 
Identifier for the entity. 
int mode 
QueryAimFromMovementController or OverriddenAndAiming or OverriddenAndNotAiming 

!

Action.SetAimQueryMode( entityId, mode )

!  

!  

! ! Set the aim query mode for the ai proxy. Normally the ai proxy ! asks the movement controller if the character is aiming. ! You can override that and set your own 'isAiming' state. !  

 

Copyright (c) 2012. All rights reserved.