What is the argument of func 'InitCity' ?

Seraphim8400

Warlord
Joined
Nov 7, 2010
Messages
112
the http://wiki.2kgames.com say it is
InitCity
<summary>

Usage

player:initCity(int x, int y, bBumpUnits = true);

Parameters

x
No Description Available
y
No Description Available
bBumpUnits
No Description Available
Returns

No Description Available.

Example



but it is a mistake
Runtime Error: [string "C:\Users\Seraphim\Documents\My Games\Sid Me..."]:55: bad argument #3 to 'InitCity' (number expected, got boolean)
than has anybody know about it?
 
I don't use the third argument,

newCity = player:InitCity(x, y)

works fine for me
 
Back
Top Bottom