modding:function:msnsuccess
Discuss this page on this page's Talk Page
msnSuccess
Syntax | (msnSuccess missionObj [data]) |
---|---|
Arguments | missionObj: The mission object. |
data: arbitrary data to pass on to the <OnCompleted> event | |
Returns | |
Category | mission functions |
Description | Calls the <OnCompleted> and <OnCanDebrief> event on the mission object |
Example
(msnSuccess gSource)
Calls the <OnCompleted> and <OnCanDebrief> event on the mission object, with “success” as the reason.
See Also
modding/function/msnsuccess.txt · Last modified: 2017/01/31 22:37 by xephyr