Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
WashDirtAndBlood
Syntax
C++
int WashDirtAndBlood(IFunctionHandler * pH, float maxCleaningEffect);
Parameters 
Description 
float maxCleaningEffect 
<0..1>, 1 - actor be totally clean, 0 - no cleaning at all 

Syntax: actor:WashDirtAndBlood(1) 

Call when somebody washes himself in the game. Cleans all actor clothes with 0 - 100% cleaning efficiency 

 

Copyright (c) 2012. All rights reserved.