From ZDoom Wiki
Jump to navigation Jump to search

void A_SetFriendly (bool set)


Sets or clears the FRIENDLY flag of the calling actor while updating the total monster count of the map accordingly. If the calling actor's health is 0 or below, the flag is merely changed, while the total monster count remains untouched.


  • set: whether to set or clear the flag. If this is true, the flag is set, otherwise if it is false, the flag is cleared.


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.