DoRiver (Civ5 API)
From Civilization Modding Wiki
Jump to navigationJump to search
This page is a part of the Lua and UI Reference (Civ5).
This function is a global function. Use: include("MapGenerator.lua")
|
Usage
void DoRiver(Plot startPlot, FlowDirectionType thisFlowDirection = nil, FlowDirectionType originalFlowDirection = nil, int riverID = nil)
Parameters
startPlot: No description available. thisFlowDirection: No description available. originalFlowDirection: No description available. riverID: No description available.
Source code samples
Redundant occurences have been removed.
Great_Plains.lua
Maps/Great_Plains.lua
0863
|
DoRiver(inlandCorner, nil, orig_direction, nil); |
MapGenerator.lua (G&K)
DLC/Expansion/Gameplay/Lua/MapGenerator.lua
0493
|
DoRiver(riverPlot, bestFlowDirection, originalFlowDirection, riverID); |
0544
|
DoRiver(inlandCorner); |
The initial version of this page was created by the Civ5 API Bot, see the Civ5 API Reference FAQ. Some of the texts come from the 2kgames' wiki and most of code samples are copyrighted to Firaxis.
Functions' signatures were either copied from the 2kgames' wiki, or infered from the Lua source files and the binaries. Errors are possible.
Contributors may find help in the Contributors guide to the Civ5 API.