Best regards.
SinglePlayer: Выбор Зехира
Падение Стедвика(pre-release)
Готовится: Зима Титанов, Столетняя война
New here? I'm Roha — want a quick tour?
I don't think so. And why would it?
[Script warning!] Value was NIL when getting global with name 'StartThread'
(Script)ERROR: attempt to call a nil value
function Call_of_Urgash()
if HasHeroSkill('Oddrema', 98) then
MessageBox(GetMapDataPath().. 'Call.txt')
ChangeHeroStat('Oddrema', STAT_EXPERIENCE,43119)
AddObjectCreatures('Oddrema', 27, 18)
SetObjectiveState('SA', PLAYER_1, 3)
flag = 1
end;
end;
StartThread('Call_of_Urgash');
_____
I have the following problem. My script stubbornly refuses to execute the StartThread function.
What's the problem?
Sincerely.
Is there a command to move an object? So that, for example, you can place an artifact somewhere further away, and then it moves to the desired location.
Thank you very much!
By the way, it finally dawned on me. There was also text in the message box in ANSI. I'll go fix it.
Sincerely.
Added 1 hour 50 minutes ago
No, it still doesn't work. It gives the same error.
Sincerely.
Thank you, I'll try it now.
Best regards.
Added 2 hours and 5 minutes ago
The console is completely silent, and the script editor is too. I re-encoded the text. No use. I suspect the problem is that my game simply doesn't recognize the "HasHeroSkill" command in the same way it did with "AddHeroCreatures".
Best regards.
There is a goal to obtain "Call of Urgash" with the OBJECTIVE_KIND_MANUAL parameter, script name - SA. It should be implemented so that as soon as the player receives the "Call of Urgash" ability, the aforementioned script is activated - giving the player experience up to level 26, completing this very task, and setting the "flag" variable to "1".
Best regards.