Camera mode cycling

This commit is contained in:
SilentSpike 2015-07-18 17:13:27 +01:00
parent 7b28214c80
commit e4ba5aaf1b
2 changed files with 7 additions and 1 deletions

View File

@ -234,10 +234,16 @@ switch (toLower _mode) do {
//[_show] call FUNC(handleMap);
};
case 57: { // Spacebar
// Freecam attachment here, if in external then set cam pos and attach
};
case 200: { // Up arrow
[[2,0,1] select GVAR(camMode)] call FUNC(updateCamera);
};
case 203: { // Left arrow
};
case 204: { // Down arrow
[[1,2,0] select GVAR(camMode)] call FUNC(updateCamera);
};
case 205: { // Right arrow

View File

@ -61,7 +61,7 @@ if (GVAR(filterSides) == 0) then {
(alive _x) &&
{(_x isKindOf "CAManBase")} &&
{(side _x) in _sides} && // Side filter
{simulationEnabled _x}
{simulationEnabled _x} &&
{!(_x getVariable [QGVAR(isSpectator), false])} // Who watches the watchmen?
) then {
GVAR(unitList) pushBack _x;