Controls(Types): Difference between revisions
From Civilization Modding Wiki
Jump to navigationJump to search
Line 19: | Line 19: | ||
Usage | Usage | ||
:Lua | :Lua | ||
::End a turn with the Lua | ::End a turn with the Lua [[Lua_Game_Objects/Game|Game]] Static Event, [[Lua_Game_Objects/Game#DoControl|DoControl]] | ||
<pre> | <pre> | ||
Game.DoControl(GameInfoTypes.CONTROL_ENDTURN) | Game.DoControl(GameInfoTypes.CONTROL_ENDTURN); | ||
</pre> | </pre> | ||
Latest revision as of 01:31, 24 October 2011
CONTROL_CENTERONSELECTION
CONTROL_SELECTYUNITTYPE
CONTROL_SELECTYUNITALL
CONTROL_SELECTCITY
CONTROL_SELECTCAPITAL
CONTROL_NEXTCITY
CONTROL_PREVCITY
CONTROL_NEXTUNIT
CONTROL_PREVUNIT
CONTROL_CYCLEUNIT
CONTROL_CYCLEUNIT_ALT
CONTROL_CYCLEWORKER
CONTROL_LASTUNIT
CONTROL_ENDTURN
Hot Key
- KB_RETURN
Alt Hot Key
- KB_NUMPADENTER
Usage
Game.DoControl(GameInfoTypes.CONTROL_ENDTURN);