SetObjectIsDestroyable

From NWN Lexicon

Contents

[edit] 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
);

[edit] 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)


[edit] Description

Convenience function to set an object to be destroyable.



[edit] Remarks

Uses SetIsDestroyable , adding to their queue.


[edit] Requirements

#include " x0_i0_corpses "


[edit] Version

???

[edit] See Also

functions: 

SetIsDestroyable



authors: Mistress, Tom Cassiotis

Personal tools
Categories