Skip to content

Posts from Scripts

4.8 (8 ratings)
In reply to RedHeavenHero
User Avatar
Auto-translated
RedHeavenHero
Script cheating in single-player. But, as I understand it, it doesn't work in multiplayer, right?
Yes. That's exactly what I meant – multiplayer.
Моды для HeroesV:
NHF 0.90 : NHF - группа в VK

Карты для HeroesV:
Путешествие , Условие крови , Рука судьбы.Часть 1: В поход , Рука судьбы.Часть 2: Отчаянье , Рука судьбы.Часть 3: Восхождение , Стойкость
Абсолютная власть , Иду на Вы! , Корона Ургаша , На задворках
Мир надо уничтожить... Чтобы создать свой...
In reply to Dyrman
User Avatar
Auto-translated
Generally, there isn't a civilized (not overly harsh, like taking away experience and then giving skills one by one) way to forget a skill/ability in multiplayer. So, skills/abilities/spells can only be added using GiveHeroSkill, which takes dependencies into account.
Карты для Героев Меча и Магии 5
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога

Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4
In reply to RedHeavenHero
User Avatar
Auto-translated
RedHeavenHero
There isn't a civilized (not overly harsh, like taking away experience and then giving skills one by one) way to forget a skill/ability in multiplayer. So, skills/abilities/spells can only be added using GiveHeroSkill, which takes dependencies into account.
Well, this won't work at all. There isn't such a simple feature :(
I hope the developers are frantically racking their brains right now :)
Моды для HeroesV:
NHF 0.90 : NHF - группа в VK

Карты для HeroesV:
Путешествие , Условие крови , Рука судьбы.Часть 1: В поход , Рука судьбы.Часть 2: Отчаянье , Рука судьбы.Часть 3: Восхождение , Стойкость
Абсолютная власть , Иду на Вы! , Корона Ургаша , На задворках
Мир надо уничтожить... Чтобы создать свой...
User Avatar
Auto-translated
How to create a video? What scripts can be used for this?
User Avatar
Auto-translated
The video itself isn't created using scripts; it's simply launched by them. Use StartDialogScene, then add the arguments; you can find more information in the manual, although there are a couple of nuances, but you need to get to that point first.
 

К А
Стикеры GBF в Telegram
User Avatar
Auto-translated
Guys, help! The script isn't working. Why?
function procurementspellscroll()
MessageBox( GetMapDataPath().."losskey.txt");
if HasBorderguardKey(1, 3) then
QuestionBox( GetMapDataPath().."petitionkey.txt","open","stayclosed");
else MessageBox( GetMapDataPath().."verysorry.txt");
end;
function stayclosed()
MessageBox( GetMapDataPath().."refusalkey.txt");
Trigger(OBJECT_TOUCH_TRIGGER, "petitionkey", nil );
end;
function open()
MessageBox( GetMapDataPath().."keypickup.txt");
ChangeHeroStat("Linaas", STAT_DEFENCE, 4);
end;
Trigger(OBJECT_TOUCH_TRIGGER, "petitionkey", "procurementspellscroll");
User Avatar
Auto-translated
at the end, it should be “end” twice, not once.

Whatever
User Avatar
Auto-translated
you can do it even after changeherostat.
there are no obstacles; you can even write it within the original faction file.

Whatever
User Avatar
Auto-translated
How can I make it so that when a map is played, the animation of the Gremlin Firestarter creature using the Fireball skill is triggered?
User Avatar
Auto-translated
PlayObjectAnimation ('creature_name', 'anim_name', anim_type)

Instead of creature_name, you need to specify the name given to the creature on the map.
Instead of anim_name, you need to specify the animation that the creature should have. Examples: attack00, specability, rangeattack.
Instead of anim_type, specify an additional animation type: ONESHOT – plays once until the end, ONESHOT_STILL – plays once and freezes at the end, IDLE – plays infinitely until the end, returning to the initial position and replaying the animation over and over.

Whatever
User Avatar
Auto-translated
What is the name of the animation for the fire attack skill used by the gremlin firestarters?
User Avatar
Auto-translated
Is this a special ability? Or a passive one? I don't remember exactly. If it's a special ability, then it's a specability.

Whatever
User Avatar
Auto-translated
What do special and passive skills mean?

Statistics

Welcome our newest member: Emil