hello
I the king of copy and paste will ask frendly for help.
how can i say: during the map generation or in the scenario editor allow only one industrie of this type on the map
for example
if (economy==XXX)
switch (FEAT_INDUSTRIES, SELF, coal_mine_check_map_gen, industry_count =1) {
1: return CB_RESULT_IND_PROBABILITY_FROM_PROPERTY;
coal_mine_check_availability_param;
i couldn`t find a example so the king is naked
Thank you
vanderbildt
Allow always during map gen
Moderator: Graphics Moderators
Re: Allow always during map gen
Set no. of industries to minimal
only one industrie of each type is built
only one industrie of each type is built
-
- Engineer
- Posts: 37
- Joined: 24 Feb 2016 16:40
Re: Allow always during map gen
Yes thats true but not that what i want.
Thank you
Thank you
Re: Allow always during map gen
Sure, but make sure you've provided the correct parameters to industry_count (it needs a grfid), and reflect on what the value of that variable will be when it hasn't built the industry yet.Vanderbildt wrote:for example
Who is online
Users browsing this forum: No registered users and 8 guests