SetObjectIsDestroyable(object, int, int, int)
Convenience function to set an object to be destroyable.
void SetObjectIsDestroyable( object oVictim, int bCanDestroy, int bCanRaise = TRUE, int bCanSelect = FALSE );
Parameters
oVictim
The object whose destroyable status you want to set.
bCanDestroy
If this is FALSE, the caller does not fade out on death, but sticks around as a corpse.
bCanRaise
If this is TRUE, the caller can be raised via resurrection. (Default: TRUE)
bCanSelect
If this is TRUE, the caller is selectable after death. (Default: FALSE)
Description
Convenience function to set an object to be destroyable.
Remarks
Uses AssignCommand to have oVictim call SetIsDestroyable, adding to their queue.
Requirements
#include "x0_i0_corpses"
Version
???
See Also
functions: | SetIsDestroyable |
categories: | Action on Object Functions |
authors: Mistress, Tom Cassiotis