CanRaise
Jump to navigation
Jump to search
Note: This feature is for ZScript only. |
bool CanRaise ()
Usage
Performs a check on the calling actor to see if it can be resurrected. The actor cannot be resurrected if:
- it is not a corpse.
- the duration of its current state is not -1 and said state lacks the CanRaise keyword.
- it is a player.
- lacks the Raise state.
- there is not enough room for it to raise.
Return value
The function returns true if the actor can be resurrected, otherwise it returns false.
Examples
![]() |
Note: This article lists no examples. If you make use of this feature in your own project(s) or know of any basic examples that could be shared, please add them. This will make it easier to understand for future authors seeking assistance. Your contributions are greatly appreciated. |