TestMobjZ

From ZDoom Wiki
Jump to navigation Jump to search
Note: This feature is for ZScript only.


bool, Actor TestMobjZ([bool quick])

Usage

Checks if the Actor is currently standing inside of another actor.

Parameters

  • quick - False by default. If true, stop at the first colliding actor found.

Return value

Returns two values:

  • If false, the Actor collided with something.
  • The actor it collided with. If quick is false this is the actor closest to the top that's currently being collided with.

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.