User Tools

Site Tools


modding:function:typfirobjevent

This is an old revision of the document!


Discuss this page on this pages TalkPage

typFireObjEvent

Syntax (typFireObjEvent type spaceObject string)
Arguments type: The unid of the type that holds the event you wish to run.
spaceObject: The space object you want the event to target.
string: The name of the event you want to run.
Returns True is successful, otherwise nil.
Category spaceobject
Description Runs an event on an object from a type.

Example

(typFireObjEvent &baStdWingmanBase; gSource "OnCreate")

Useful function for firing events without having to create the object that contains the event. Return to Functions list

modding/function/typfirobjevent.1419655255.txt.gz · Last modified: 2017/01/20 02:42 (external edit)