Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
FreezeEntity
Syntax
C++
int FreezeEntity(IFunctionHandler * pH, ScriptHandle entityId, bool freeze, bool vapor);
Parameters 
Description 
ScriptHandle entityId 
Entity identifier. 
bool freeze 
True if the entity is froozen, false otherwise. 
bool vapor 
True to spawn vapor after freezing, false otherwise. 
force 
True to force freezing even for the entity that implements "GetFrozen Amount", false otherwise. The default value is false.
 

Syntax: GameRules.FreezeEntity( ScriptHandle entityId, bool freeze, bool vapor, bool force )

Copyright (c) 2012. All rights reserved.