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

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. Cleans all actor clothes with 0 - 100% cleaning efficiency

Copyright (c) 2012. All rights reserved.