Skip to content

Current questions and answers regarding the map editor.

User Avatar
#766
Auto-translated
What are enterprises?
Ment, enterprises are objects like gold mines, etc. Победитель is correct.
while 1 do
if GetObjectOwner('obj1')==1 and GetObjectOwner('obj2')==1 and... then
SetObjectiveState(task name, OBJECTIVE_COMPLETED);
break;
end;
sleep(3);
end;
In the script, I don't understand one thing in this line:
SetObjectiveState(task name, OBJECTIVE_COMPLETED);
What task name should I write there????
If I need to capture all dwellings????
And if I need to capture mines and the like????
P.S. I need both lumber mills and dwellings with monsters to be included in the tasks together!!!!
Please provide a screenshot of how to do this correctly or a simple map example. I would be grateful for your answer in advance!
I want to create a great map, but I see that I don't know much :mad: :mad: :mad:, so I'm asking for help :smile45: !!!
----------------------------------------------
Я начинающий картостроитель.Скоро буду
выкладывать карты, когда научусь всё делать.:smile01: :smile01:

Statistics

Welcome our newest member: artem

Users Online 2 users 1613 guests