Discuss this page on this pages TalkPage

typHasEvent

Syntax (typHasEvent unid event)
Arguments unid: The unid you want to check for events.
event: the event to check for
Returns True if successful, Nil otherwise
Category type, unid
Description Use for checking if a type holds an event.

Example

(typHasEvent "&scDwargRaider;" 'OnObjDestroyed)

Returns “true”.

Return to type functions list

Return to Functions list