User Tools

Site Tools


modding:function:typefireobjevent

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

modding:function:typefireobjevent [2017/01/20 03:49] – created xephyrmodding:function:typefireobjevent [2017/01/20 05:31] (current) xephyr
Line 1: Line 1:
-Discuss this page on this pages [[typFireObjEvent Talk Page|TalkPage]] +~~GOTO>modding:function:typfireobjevent~~
- +
-=== typFireObjEvent === +
- +
-^ Syntax | (typFireObjEvent unid obj event) | +
-^ Arguments | unid: The unid of the type that holds the event | +
-^ | obj: The space object to fire the event on | +
-^ | event: the event to fire on the space object | +
-^ Returns | Result of event | +
-^ Category | [[type]], [[unid]] | +
-^ Description | Fires an event from a type on a space object. Useful for calling events from base classes. | +
- +
-=== Example === +
- +
-<code lisp>(typFireObjEvent &baCSCBase; gSource 'OnDestroy)</code> +
- +
-From CommonwealthFleet.xml. Fires the event "OnDestroy" from the CSC's base class on itself. +
- +
-Return to [[modding:function:type_functions|type functions]] list +
- +
-Return to [[:Functions]] list+
  
modding/function/typefireobjevent.1484884179.txt.gz · Last modified: 2017/01/20 03:49 by xephyr