Safe Destroy Object
From Dragon Age Toolset Wiki
Safe wrapper for DestroyObject.
- Parameters:
- oObject
- object to destroy
- nDelayMs
- time in milliseconds to delay the destruction of the object, default is for immediate destruction
- Returns:
- Nothing.
- Source:
- Core Game Resources.core_h
Description
Destroys the specified object unless it is a party member; is plot or is immortal.
Remarks
The reason for this function: there were accidents where creatures would deplete themselves as Ammo because people were not paying attention.