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

!

Entity.BreakToPieces()

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

 

Copyright (c) 2012. All rights reserved.