Skip to content
User Avatar
#2491
Auto-translated
Sarcastrophe.
Hello. I'm creating a map for multiplayer, and the idea is that after 2.5 months, the player's hero will be teleported to a portal leading to the center of the map, where a battle with the other players will take place. And I don't know any scripting at all :с. I need help. Is there a script that can create this scenario?
In general, it looks like this. The only problem is choosing the player's hero to teleport.
function NewDay()
if GetDate() == 71 then
SetObjectPosition('hero_name_1', coord_x, coord_y, floor_0_or_1)
SetObjectPosition('hero_name_2', coord_x, coord_y, floor_0_or_1)
-- ... and so on
end
end

Trigger(NEW_DAY_TRIGGER, 'NewDay')
Карты для Героев Меча и Магии 5
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога

Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4