A_ChangeCountFlags

From ZDoom Wiki
Jump to navigation Jump to search

void A_ChangeCountFlags [(int kill [, int item [, int secret]])]

Usage

Sets whether or not the calling actor should count towards the map's statistics of kills, items and secrets. If any of these parameters is set to 0, the actor is not counted towards the statistic represented by the parameter. If set to FLAG_NO_CHANGE or -1, no change takes place. If set to any other value, the actor is counted.

Parameters

  • kill: whether or not the actor should count towards the map's kills. The actor needs to be non-friendly and alive for any changes to take effect. Default is FLAG_NO_CHANGE.
  • item: whether or not the actor should count towards the map's items. Default is FLAG_NO_CHANGE.
  • secret: whether or not the actor should count towards the map's secrets. Default is FLAG_NO_CHANGE.

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.