Controls(Types): Difference between revisions
From Civilization Modding Wiki
Jump to navigationJump to search
(Created page with "== CONTROL_CENTERONSELECTION == == CONTROL_SELECTYUNITTYPE == == CONTROL_SELECTYUNITALL == == CONTROL_SELECTCITY == == CONTROL_SELECTCAPITAL == ==CONTROL_NEXTCITY == ==CONTROL_PR...") |
|||
Line 13: | Line 13: | ||
==CONTROL_LASTUNIT == | ==CONTROL_LASTUNIT == | ||
==CONTROL_ENDTURN == | ==CONTROL_ENDTURN == | ||
Hot Key | |||
:KB_RETURN | |||
Alt Hot Key | |||
:KB_NUMPADENTER | |||
Usage | |||
:Lua | |||
::End a turn with the Lua 'Do Control' Game Static Event | |||
<pre> | |||
Game.DoControl(GameInfoTypes.CONTROL_ENDTURN) | |||
</pre> | |||
==CONTROL_ENDTURN_ALT == | ==CONTROL_ENDTURN_ALT == | ||
== CONTROL_FORCEENDTURN == | == CONTROL_FORCEENDTURN == |
Revision as of 01:17, 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
- Lua
- End a turn with the Lua 'Do Control' Game Static Event
Game.DoControl(GameInfoTypes.CONTROL_ENDTURN)