Skip to content

Scripts for beginners.

User Avatar
#357
Auto-translated
}{0TT@6bI4
You made a mistake, dear BlueHeavenHero. It's not necessary to explicitly specify passing nil as a parameter (except in rare cases, which I can explain), as any undeclared value is initially considered nil. That is, the last three (four) nil values can be omitted altogether. Furthermore, REGION_ENTER_... is a variable with a mnemonic name that stores the trigger's ID number. And this number can be passed manually, as Loli Nikita did. Of course, if he made a mistake with the number and 6 refers to the trigger that changes the quest state, then you are right.
Yes...
That's the kind of assistant I am.
After one UNpleasant incident in a script, I always specify all nil values, and I practically don't use numerical values.
By the way, regarding the region and battle, this is the simplest function, in my opinion.

Мои карты:
Падший рыцарь
Сердце Хаоса

Мои моды:
Визуальные:
Изменение внешнего вида героев-некромантов
Существа-жители и кое-что по мелочи в городах Ордена Порядка, Некрополиса и Инферно

NCF-существа:
Странствующие рыцари
Наемники