Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
-added mission to Lybor terrain (https://steamcommunity.com/sharedfil…
- Loading branch information
Showing
30 changed files
with
8,119 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
...rting/Porting/Marker Missions/TE_BuildCommunicationCenter.VTF_Lybor/PositionGenerator.sqf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
private ["_markerBaseName", "_arrayName", "_markerStartNo"]; | ||
private ["_markerNo", "_markerName", "_i", "_isIcon"]; | ||
|
||
_markerBaseName = "a3e_var_communicationCenter_"; | ||
_arrayName = "a3e_communicationCenterMarkers"; | ||
_markerStartNo = 1; | ||
|
||
_markerNo = _markerStartNo; | ||
_markerName = _markerBaseName + str _markerNo; | ||
|
||
diag_log ("""" + _arrayName + " = [];"""); | ||
|
||
_isIcon = false; | ||
if (markerShape _markerName == "ICON") then { | ||
_isIcon = true; | ||
}; | ||
|
||
_i = 0; | ||
while {[_markerName] call drn_fnc_CL_MarkerExists} do { | ||
if (_isIcon) then { | ||
diag_log ("""" + _arrayName + " set [" + str _i + ", [" + str (getMarkerPos _markerName) + ", " + str markerDir _markerName + "]];"""); | ||
} | ||
else { | ||
diag_log ("""" + _arrayName + " set [" + str _i + ", [" + str (getMarkerPos _markerName) + ", " + str markerDir _markerName + ", """ + markerShape _markerName + """, " + str markerSize _markerName + "]];"""); | ||
}; | ||
|
||
_markerNo = _markerNo + 1; | ||
_markerName = _markerBaseName + str _markerNo; | ||
_i = _i + 1; | ||
}; | ||
|
||
//diag_log ("""" + _arrayName + "Initialized = true;"""); | ||
//diag_log ("""publicVariable """ + _arrayName + "Initialized"";"""); | ||
|
||
player sideChat (str _i + " markers generated."); |
Oops, something went wrong.