A_CheckSpecies

From ZDoom Wiki
Jump to navigation Jump to search

state A_CheckSpecies (state jump [, name species [, int ptr]])

Note: Jump functions perform differently inside of anonymous functions.

Usage

Checks for a specified species match with ptr and jumps to the specified state if it matches.

Parameters

  • jump: The state to jump to when the number of actor classname is found.
  • species: The name of the species to check. Default is none.
  • ptr: The actor pointer to check. Cannot be AAPTR_NULL.

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.