modding:function:msnsuccess
This is an old revision of the document!
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.1485828857.txt.gz · Last modified: by xephyr
