Forum Discussion
o0netquik0o
3 years agoRising Ace
ANother try: when the arrows stop working try to execute this full code in console
for (var r, u, f = ClientLib.Data.MainData.GetInstance().get_Cities().get_AllCities().d, e = null, o = ClientLib.Data.MainData.GetInstance().get_Cities().get_CurrentCityId(), i = null, t = Object.keys(f), n = 0; n < t.length; n++)
if (o === parseInt(t)) {
i = n;
break
}
if (i !== null) {
for (i === t.length - 1 && (i = -1),
r = 0,
n = i + 1; n < t.length; n++) {
if (u = f,
u.get_IsGhostMode()) {
n === t.length - 1 && r === 0 && (r++,
n = -1);
continue
}
e = u.get_Id();
break
}
}
var n = e;
var i, u, t, r, f;
if (!isNaN(n) && n !== null) {
if (i = ClientLib.Data.MainData.GetInstance().get_Cities(),
u = qx.core.Init.getApplication(),
u.getMainOverlay().isVisible()) {
t = qx.core.Init.getApplication().getPlayArea();
switch (t.getViewMode()) {
case ClientLib.Data.PlayerAreaViewMode.pavmPlayerBase:
t.setView(ClientLib.Data.PlayerAreaViewMode.pavmPlayerBase, n, -1, -1);
break;
case ClientLib.Data.PlayerAreaViewMode.pavmPlayerDefense:
t.setView(ClientLib.Data.PlayerAreaViewMode.pavmPlayerBase, n, -1, -1);
t.setView(ClientLib.Data.PlayerAreaViewMode.pavmPlayerDefense, n, 0, 0);
break;
case ClientLib.Data.PlayerAreaViewMode.pavmPlayerOffense:
t.setView(ClientLib.Data.PlayerAreaViewMode.pavmPlayerBase, n, -1, -1);
t.setView(ClientLib.Data.PlayerAreaViewMode.pavmPlayerOffense, n, 0, 0);
break;
default:
i.set_CurrentOwnCityId(n)
}
} else
i.set_CurrentOwnCityId(n);
r = i.get_CurrentOwnCity();
f = webfrontend.gui.alliance.AllianceMarkerNavs.getHomeMarker(r.get_PosX(), r.get_PosY());
ClientLib.Data.MainData.GetInstance().get_Alliance().SetSelectedHomeMarker(f)
}
About Tiberium Alliances Technical Issues
Having problems running the game or a script? Get help with Command and Conquer: Tiberium Alliances with the community!1,660 PostsLatest Activity: 8 days ago
Recent Discussions
- 8 days ago
- 19 days ago
- 19 days ago