Skip to content
User Avatar
#2410
Auto-translated
WizardNazyr
Which function is used to change the name and description of an object?
Also, can you tell me how to fix the error: Value was NIL when getting global with name 'ChangeResource'?
function give_sulfur()
ChangeResource(4, 5, 'Biara')
Trigger(OBJECT_TOUCH_TRIGGER, 'kotel', nil);
end
1) OverrideObjectTooltipNameAndDescription(object, path_to_name_text, path_to_description_text)
2) There is no such function as ChangeResource; check the manual for functions that modify resources.
Карты для Героев Меча и Магии 5
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога

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