-
Notifications
You must be signed in to change notification settings - Fork 9
Tasks
shukari edited this page May 17, 2020
·
3 revisions
Missionfolder
- init.sqf
- tasks
- t1.sqf
TBMod_tasks_Tasks = ["T1","T2", "T3"];
_canInit = {
true; //Startet sofort
};
_init = {
};
_initserver = {
};
_canComplete ={
!alive badenemy;
};
_complete = {
};
_completeServer = {
};
_canFail = {
false;
};
_failed = {
};
_failedServer = {
};
[_canInit,_init,_initserver,_canComplete,_complete,_completeServer,_canFail,_failed,_failedServer];
_canInit = {
true; //Startet sofort
};
_init = {
T1_Task = player createSimpleTask ["Kill"];
T1_Task setTaskState "Assigned";
"marker01" setMarkerAlpha 1;
player createDiaryRecord ["Diary", ["Intel", "Kill The Enemy"]];
hint "Kill the Enemy";
};
_initserver = {
};
_canComplete ={
!alive badenemy;
};
_complete = {
"winMarker" setMarkerAlpha 1;
"marker01" setMarkerAlpha 0;
T1_Task setTaskState "Succeeded";
hint "Gut gemacht";
player setpos [15200.9,17305,0];
};
_completeServer = {
};
_canFail = {
false;
};
_failed = {
};
_failedServer = {
};
[_canInit,_init,_initserver,_canComplete,_complete,_completeServer,_canFail,_failed,_failedServer];