Added main.

This commit is contained in:
Marvin Blum
2015-10-25 16:57:00 +01:00
parent a1d7fc977e
commit 4471ae285e
9 changed files with 190 additions and 15 deletions

View File

@@ -22,13 +22,13 @@ if (!isNil _getunit) then { // unit exists?
*/
if !isServer && player != player {
exit()(); // does not work for SQF, need to implement exitWith...
waituntil(player == player);
}
var _getunit = select(_this)(0);
var _file = select(_this)(1);
if !(isNil()(_getunit)) {
if !isNil()(_getunit) {
var _unit = objNull;
call()(compile()(format()("_unit = %1", _getunit)));