Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
CScriptBindHitDeathReactions::OnHit Method
Syntax
C++
int OnHit(IFunctionHandler * pH, SmartScriptTable scriptHitInfo, float fCausedDamage = 0.0f);

Notifies a hit event to the hit death reactions system Params: scriptHitInfo = script table with the hit info 

Return: TRUE if the hit is processed successfully, FALSE otherwise 

 

Copyright (c) 2012. All rights reserved.