GetMissionAccess
Category: System
Since engine version: 4.9.1.0 GWE
Description
Determines whether the player already has the specified mission access password
Syntax
bool GetMissionAccess
(string strMissionAccess);
Parameter
- strMissionAccess:
-
Mission access to be checked
Remark
In a network game, this function always returns 0. Otherwise differing local values might cause synchronization problems.
Example
if (!GetMissionAccess("DasWarHarteArbeit"))
{
GainMissionAccess("DasWarHarteArbeit");
Message("Glückwunsch, du bist hier zum ersten Mal!");
}
Displays a message if the mission access password "DasWarHarteArbeit" (German: "That was hard work") was not yet gained and
then gives this mission access.
Sven2, November 2001
matthes, February 2005