Community Forums > Voobly General > General Discussion / Off Topic > How to disable a building on a custom map
3 User(s) are reading this topic (in the past 30 minutes)
0 members, 3 guests
0 members, 3 guests
What's popular right now:








AoKTS updates (88 users)

Word Association (70 users)

1.6 reward campaing (59 users)

CBA PathBlood 1.8.2 (50 users)

New CBA Hero now supports HD / D... (30 users)

TIW 2020 Map votes (25 users)

Creating an Allied Vision LN (19 users)
Most active threads in past week:








Strange bug (6 posts)

Unable to spec 1.6 game data games (6 posts)

Unable to see messages in game r... (5 posts)

Problem with chat in GAME (4 posts)

a problem in download (2 posts)

problem with spec mode (2 posts)

Please do smth about people leav... (1 posts)
Repeat the process of defining the unit and moving the train button for units 116 and 137 as you did for unit 84. Remember to change the names to castle and imperial market so you have three different units modified.
#const DARK_AGE_MARKET 84
#const FEUDAL_AGE_MARKET 116
#const CASTLE_AGE_MARKET 134
<PLAYER_SETUP>
random_placement
nomad_resources
ai_info_map_type NOMAD 1 0 0
effect_amount SET_ATTRIBUTE DARK_AGE_MARKET ATTR_TRAIN_BUTTON 255
effect_amount SET_ATTRIBUTE FEUDAL_AGE_MARKET ATTR_TRAIN_BUTTON 255
effect_amount SET_ATTRIBUTE CASTLE_AGE_MARKET ATTR_TRAIN_BUTTON 255