Safe Destroy Object

From Dragon Age Toolset Wiki
Revision as of 00:19, 9 February 2010 by BryanDerksen (Talk | contribs) (Created page with '{{dafunction |name=DestroyObject |brief= Safe Wrapper for DestroyObject |param1type=object |param1name=oObject |param1desc=Object to destroy |param1default= |param2type=int |para...')

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Safe Wrapper for DestroyObject

void DestroyObject(
object oObject,
int nDelayMs = 0
);
Parameters:
oObject
Object to destroy
nDelayMs
Time in milliseconds to delay the destruction of the object. Immediate destruction by default
Returns:

Nothing.

Source:

core.core_h


Remarks

The reason for this function: There were accidents where creatures would deplete themselves as Ammo because people were not paying attention.


See also

CreateObject, DestroyObject