Thing_Deactivate

From ZDoom Wiki
Jump to navigation Jump to search

131:Thing_Deactivate (tid)

  • tid: Thing ID of the thing to deactivate. 0 refers to the activator of the script.

Sets the DORMANT flag of a monster so that it will not be able to take damage or attack the player. Does nothing when used on players. Also, makes the actor call its Deactivate() virtual function (which does nothing by default, unless overridden to add custom behavior). This function does not interact with the Activation property. Details can be found on the Activation page.

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.


See also

External links