Skip to content

Current questions and answers regarding the map editor.

User Avatar
#3945
Auto-translated
What does the letter 'b' mean, and what did the author actually mean?
He should have written it somewhere. bEnable is a boolean variable. It takes the values true or nil in this case. The first one enables the AI, the second one disables it.
When a monster is set to any (random), is its power and quantity adjusted by the difficulty level? Because when I run a test, I approach the sawmill, and there's a squad of spectral dragons there.
The monster type is random, and the quantity correlates with the difficulty, yes.
Bridge
These seem to be non-functional objects; the bridges hang high above the surface of the dungeon, and it is impossible to climb onto them. They are only for aesthetics.
Please provide a script to place troops inside the treasure chamber (similar to a crypt).
I won't write a script. Briefly: you need a Trigger with the first argument OBJECT_TOUCH_TRIGGER, startCombat, and you also need to disable the object beforehand using SetObjectEnabled("object name", nil).
5)
Disable its AI; you asked about this function at the beginning.
6) Maybe it's in NCF. There is no unit in the game – only a model, and you still need to do a lot of work with it so that it can at least move.
7) Enable the advanced editor (there should be instructions in the FAQ).
8) Search through the resources of the extended editor.
9) NCF. There is a topic on the website in the "mods for Warlords" section.
 

К А
Стикеры GBF в Telegram