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 'Do Control' Game Static Event
::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

Lua
End a turn with the Lua Game Static Event, DoControl
Game.DoControl(GameInfoTypes.CONTROL_ENDTURN);

CONTROL_ENDTURN_ALT

CONTROL_FORCEENDTURN

CONTROL_AUTOMOVES

CONTROL_PING

CONTROL_YIELDS

CONTROL_RESOURCE_ALL

CONTROL_UNIT_ICONS

CONTROL_SCORES

CONTROL_LOAD_GAME

CONTROL_OPTIONS_SCREEN

CONTROL_RETIRE

CONTROL_SAVE_GROUP

CONTROL_SAVE_NORMAL

CONTROL_QUICK_SAVE

CONTROL_QUICK_LOAD

CONTROL_CIVILOPEDIA

CONTROL_POLICIES_SCREEN

CONTROL_FOREIGN_SCREEN

CONTROL_MILITARY_SCREEN

CONTROL_TECH_CHOOSER

CONTROL_TURN_LOG

CONTROL_DOMESTIC_SCREEN

CONTROL_VICTORY_SCREEN

CONTROL_INFO

CONTROL_SELECT_HEALTHY

CONTROL_TOGGLE_STRATEGIC_VIEW

CONTROL_ADVISOR_COUNSEL