Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
[code]
function CustomHotkeys:onGalaxyMapUpdate(timeStep)
return self:onPostRenderHud(5, timeStep) -- hud state 5 for map, which is not a part of PlayerStateType
end
[/code]
I think you read [code]PlayerStateType[/code] like any sane person would--which is to say zero-indexed. But lua... (╯°□°)╯︵ ┻━┻
[code]
enum PlayerStateType
Fly -- 1
BuildCraft -- 2
BuildTurret -- 3
Interact -- 4
Strategy -- 5
[/code]
Either that or they added in a state after you implemented it. Might want to use a bigger/more arbitrary dummy value just in case.
Effect of all that: hotkeys you want to work in strategy mode also end up unintentionally working on the galaxy map.
Loving the integration, though! You just need someone to make you a cool icon.