Skip to content
#595
Auto-translated
Vurdalak
Winner, I want to create a Mage Guild in my map, and, for example, after capturing a Castle and choosing a reward, you can get Wolves or Dragons, as well as money.
By Mage Guild, do you mean a Seer Hut? You place it (in English, Seer Hut), in the left panel, you expand the Quest line, fill in the CaptionFileRef line (the name of the quest, to change it, click on the line, the new button to the right of it, and you'll figure it out), DescriptionFileRef (the description of the task), kind (in your case, you need to select OBJECTIVE_KIND_CAPTURE_OBJECT), Parameters (click on the line with the right mouse button, select add, in the line that appears, you need to write the script name of the city, which is pre-written in the name property of the city), Award (you expand it, write the type, size, and everything else). This is the simplest scheme, without a script, and you cannot choose a reward. I apologize, but I don't have any time right now, and it requires writing a script. If the question remains, I will be happy to help you directly before your map is released.
Vurdalak
And I have another new question: can I make it so that the hero sails and lands on the shore, and then the ship disappears, and summoning a ship doesn't work?
Yes, you can.
1) Place a region "Reg" where the hero should land.
2) Choose the ship the hero should sail on (i.e., it's better if he doesn't have available shipyards, but only one ship, already ready), in the left panel, write in the name, say, Shipik, the IsRemovable property must be set to true.
3) In the map properties (Spells tab), uncheck "Summon Ship" so that it doesn't work.
4) In the script, write:
function fun()
RemoveObject("Shipik");
end;
Trigger(REGION_ENTER_AND_STOP_TRIGGER,"Reg","fun");

Statistics

Welcome our newest member: den

Users Online 1 users 1343 guests