User Tools

Site Tools


modding:function:typhasevent

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

modding/function/typhasevent.txt · Last modified: 2017/01/20 04:28 by xephyr