Safe Destroy Object
From Dragon Age Toolset Wiki
Revision as of 19:40, 8 August 2011 by Sunjammer (Talk | contribs) (Fixing name, adding description)
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.