Discuss this page on this pages [[objFireItemEvent Talk Page|TalkPage]] === objFireItemEvent === ^ Syntax | (objFireItemEvent obj item event [data]) | ^ Arguments | obj: A space object to trigger the event from - usually the space object holding the item. | ^ | item: the item the event is stored on | ^ | event: the name of the event on the item | ^ | [data]: (optional) Arbitrary data to pass on to the item event| ^ Returns | Result of the event, or Nil| ^ Category | [[spaceObject functions]]| ^ Description | Allows a space object to immediately fire an event on an item. | === Example === (objFireItemEvent gSource theItem "Success") Fires the event named "Success" on theItem. Return to [[modding:function:spaceObject_functions|Space Object functions]] list Return to [[modding:functions:]] list