Page MenuHomeFeedback Tracker

Custom Showcase mission is not marked as played if ended with BIS_fnc_endMission
Closed, ResolvedPublic

Description

Normally, a scenario is properly marked as played if it was ended with BIS_fnc_endMission. However, that is not the case with custom showcase missions, except I am doing something wrong.

What conditions have to be met in order for a Showcase mission to be marked as played?

Details

Legacy ID
1123527173
Severity
None
Resolution
Not A Bug
Reproducibility
Always
Category
Scripting

Event Timeline

R3vo set Category to Scripting.Jan 9 2016, 12:31 PM
R3vo set Reproducibility to Always.
R3vo set Severity to None.
R3vo set Resolution to Not A Bug.
R3vo set Legacy ID to 1123527173.May 8 2016, 1:27 PM
R3vo added a subscriber: R3vo.
R3vo added a comment.Jan 9 2016, 3:03 PM

I solved the problem. My first assumption was that BIS_fnc_endMission would automatically take care of doneKeys[] and activateKey, since I've never used that way before.

The solution was to define a key via doneKeys[] in the description.ext, and activate that key at the end of the mission with activateKey.