Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
BreakToPieces
Syntax
C++
int BreakToPieces(IFunctionHandler* pH, int nSlot, int nPiecesSlot, float fExplodeImp, Vec3 vHitPt, Vec3 vHitImp, float fLifeTime, bool bSurfaceEffects);

Syntax: Entity.BreakToPieces() 

Breaks static geometry in slot 0 into sub objects and spawn them as particles or entities. 

 

Copyright (c) 2012. All rights reserved.