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:
CBA PathBlood 1.8.0 (82 users)
Word Association (81 users)
AoKTS updates (76 users)
1.6 reward campaing (68 users)
New CBA Hero now supports HD / D... (35 users)
TIW 2020 Map votes (34 users)
Devil May Cry (33 users)
Most active threads in past week:
Torneo 1v1 HUMAITA / HUMAITA 1... (33 posts)
🌟 Let's Restart Custom Scenar... (22 posts)
If there is chance to advertise ... (8 posts)
Which AI can play DE Islands cus... (6 posts)
Voobly Rouge Spear on Mac (4 posts)
AOM Error "Unsupported Grap... (4 posts)
Hero Tourney Match Schedules (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