modding:function:typfireevent
Discuss this page on this pages TalkPage
typFireEvent
Syntax | (typFireEvent unid event [data]) |
---|---|
Arguments | unid: The unid of the type to fire the event on |
event: The event on the type to fire | |
data: Data to pass on to the event (can be empty) | |
Returns | Result of event |
Category | type, unid |
Description | Very useful, especially for creating space objects because of all the data you can pass along. |
Example
(typFireEvent autonUNID 'CreateFromItem { sourceObj:sourceObj type:autonUNID item:autonItem })
From RPGAutons.xml. Fires the event “CreateFromItem” with the following data.
Return to type functions list
Return to Functions list
modding/function/typfireevent.txt · Last modified: 2017/01/20 03:38 by xephyr