Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
CleanDirt
Syntax
C++
int CleanDirt(IFunctionHandler * pH);
Parameters 
Description 
maxCleaning 
<0..1>, 1 - actor be totally clean, 0 - no cleaning at all 
maxWashing 
<0..1>, 1 - actor be totally washed, 0 - no washing at all (optional) 

Syntax: actor:CleanDirt(1) 

Use only when you want to clean somebody programmatically. If you want to clean player after its in-game action, call WashDirtAndBlood instead.

Copyright (c) 2012. All rights reserved.