Gamelogic - Documente in die Mission implementieren
this addAction ["Dokument aufnehmen", document_code];
this allowDamage false
documentCount = 0;
document_code = {
deleteVehicle (_this select 0);
documentCount = documentCount + 1;
if(documentCount == 1)then{dokument1 =true;publicVariable"dokument1 ";}
if(documentCount == 2)then{dokument2 =true;publicVariable"dokument2 ";}
};
documentCount = 0;
document_code = {
deleteVehicle (_this select 0);
documentCount = documentCount + 1;
hint format ["Ein Dokument wurde gefunden. Wir haben jetzt %1 / 3", documentCount];
if(documentCount >= 3)then{hint "test";}
};