User Tools

Site Tools


modding:function:msnfailure

Differences

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

Link to this comparison view

modding:function:msnfailure [2017/01/23 02:24] – created xephyrmodding:function:msnfailure [2017/01/31 02:16] (current) xephyr
Line 8: Line 8:
 ^ Returns |  | ^ Returns |  |
 ^ Category | [[missions]]| ^ Category | [[missions]]|
-^ Description | Fails the mission and calls the <OnCompleted> event on the mission object. |+^ Description | Fails the mission and calls the <OnCanDebrief> and <OnCompleted> events on the mission object. |
  
 === Example === === Example ===
Line 14: Line 14:
 <code lisp>(msnFailure gSource)</code> <code lisp>(msnFailure gSource)</code>
  
-Fails the mission.+Calls the <OnCompleted> and <OnCanDebrief> event on the mission object, with “failure” as the reason
  
 [[modding:xml:missiontype|Mission Types]] [[modding:xml:missiontype|Mission Types]]
modding/function/msnfailure.1485138253.txt.gz · Last modified: 2017/01/23 02:24 by xephyr