Posts from Scripts for beginners.
Auto-translated
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога
Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога
Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога
Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4
Yeah, got it, thanks, it worked.
Please add the following to this script:
When a hero appears, the camera focuses on him, and a message is displayed immediately, along with quests related to killing him.
(IF YOU DIDN'T UNDERSTAND WHAT I SAID, LET ME KNOW, AND I'LL CLARIFY).
After the message, it gave quests to kill that hero. (Could you provide a script that doesn't immediately include the coordinates and hero's name, but rather gives them to me like you did with the other scripts?). Please:smile12:
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога
Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога
Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4
Added 42 minutes later
Could you please complete what I need? I don't understand these scripts (After the message, it gave me quests to kill that hero). Please, I will try not to bother you after this.
function new_day()
local day = GetDate(DAY)
if day == 2 then
DeployReserveHero("Jazaz", 164, 156, 0)
MoveCamera(164, 156, 0, 50, 0.7, 0, 0, 0, 1)
MessageBoxForPlayers(GetPlayerFilter(player), "path to text")
SetObjectiveState("quest_name", OBJECTIVE_ACTIVE, player_to_whom_the_quest_is_given)
end
end
Trigger(NEW_DAY_TRIGGER, 'new_day')The task should be invisible and inactive.
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога
Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4
function new_day()
local day = GetDate(DAY)
if day == 2 then
DeployReserveHero("Marder", 25, 23, 0)
SetObjectiveState("Ubit", OBJECTIVE_ACTIVE, 1)
MoveCamera(25, 23, 0, 50, 0.7, 0, 0, 0, 1)
MessageBoxForPlayers(GetPlayerFilter(2), "Maps/SingleMissions/Mojo Tworenie/orlando.txt")
end
end
Trigger(NEW_DAY_TRIGGER, 'new_day');
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога
Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4
Added 16 hours and 55 minutes ago
Anyway, everything works now, except for the message.