Community Forums > Voobly General > General Discussion / Off Topic > How to disable a building on a custom map
2 User(s) are reading this topic (in the past 30 minutes)
0 members, 2 guests
0 members, 2 guests
What's popular right now:
AoKTS updates (67 users)
1.6 reward campaing (58 users)
Word Association (49 users)
CBA PathBlood 1.8.0 (39 users)
TIW 2020 Map votes (27 users)
Old VCOM/Tournament forums (26 users)
Photos of Voobly Players (25 users)
Most active threads in past week:
TDII TeamBonus V4A2 (13 posts)
Why will this error occur while ... (10 posts)
$200 HEROFEST 1v1 TOURNAMENT by ... (9 posts)
Voobly crash (8 posts)
Please resume patch development ... (5 posts)
This is BS, this is third time I... (3 posts)
Again the same problem (3 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