Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
ResetParameters
Syntax
C++
int ResetParameters(IFunctionHandler * pH);
Parameters 
Description 
entityId 
entity id 
bProcessMovement 
reset movement data as well 
PropertiesTable 
Lua table containing the entity properties like groupid, sightrange, sound range etc (editable in editor, usually defined as "Properties") 
PropertiesInstanceTable 
another properties table, same as PropertiesTable (editable in editor, usually defined as "PropertiesInstance")
 

Syntax: AI.ResetParameters( entityId, bProcessMovement, PropertiesTable, PropertiesInstanceTable ) 

Resets all the AI parameters

Copyright (c) 2012. All rights reserved.