CanRaiseActor

From ZDoom Wiki
Jump to navigation Jump to search

bool CanRaiseActor (int tid);

Usage

Checks to see if the actor or actors with the specified tid are viable for resurrection. If tid is 0, the check is done on the activator of the script.

Parameters

  • tid: the tid of the actor or actors to check.

Return Value

The function returns true if the actor can be resurrected, otherwise it returns false. In case multiple actors are checked, the function only returns true if all of the actors can be resurrected. If at least one of them fails the check, the returned value is false.

Examples

Nuvolachalk.png 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.