GetCharacterName

From ZDoom Wiki
Jump to navigation Jump to search

clearscope string GetCharacterName () const

Usage

Returns the name of the calling actor as defined in its conversation script. If the actor is not assigned a conversation script, or it is but lacks a conversation name (either the name is set as an empty string or not set at all), then the function falls back to GetTag to retrieve the actor's tag instead.

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.