Djinni Wiki

function SetIsDestroyable (int bDestroyable, int bRaiseable=TRUE, int bSelectableWhenDead=FALSE)

Set the destroyable status of the caller.

  • bDestroyable: If this is FALSE, the caller does not fade out on death, but sticks around as a corpse.
  • bRaiseable: If this is TRUE, the caller can be raised via resurrection.
  • bSelectableWhenDead: If this is TRUE, the caller is selectable after death.
  • Return type: void
  • Include file: nwscriptdefn