Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
Error
Syntax
C++
int Error(IFunctionHandler * pH);
Parameters 
Description 
szMessage 
message line to be displayed in log
Error 

Syntax: AI.Error( szMessage ) 

Used when we really can't handle some data/situation. The code following this should struggle on so that the original cause (e.g. data) of the problem can be fixed in the editor, but in game this would halt execution

Copyright (c) 2012. All rights reserved.