Auto-translated
Hello, I started making a cutscene for my map, I open it, set up the camera, try to run the video, and the editor crashes.
Has anyone else had this problem?
Thank you in advance.
The editor crashes if:
a) The duration of the sentence is zero
b) Incorrect (or missing) link to the actor
c) A link to a hero is specified (in some cases)
d) A link to a non-existent resource is specified
Check if the cause of your error lies in these points
________________________________________________________________________
________________________________________________________________________
I encountered the following problem: here is this piece of code
print(GetGameVar("morale_bonus")); */Returns 0 to the console/*
-------------------------
if GetGameVar("morale_bonus")==0 then
my_talkbox_params=
{
icon="/PATH_TO_MAP/BonusGeneratorIcon.xdb#xpointer(/Texture)",
name="BonusGeneratorName.txt",
text="BonusGenerator_ChooseAmount.txt",
ans1="Add_1.txt",
ans2="Add_2.txt",
ans3="Add_3.txt",
func="BonusGenerator_Callback_2"
};
TalkBoxWith3A2(my_talkbox_params);
BonusType= HERO_BATTLE_BONUS_MORALE;
elseif GetGameVar("morale_bonus")~=0 then
print(GetGameVar("morale_bonus")); */Also returns 0 to the console/*
MessageBox(path.."YouAlreadyHaveThisBonus.txt", "BonusGenerator");
end;
-------------------------
displays the message "YouAlreadyHaveThisBonus.txt", which is in the block that runs if the variable is not equal to zero, but in the same block, the print statement outputs that the variable value is 0 (!)I would be very grateful if someone could explain what is wrong here:smile35:
:smile15:
С уважением, }{0TT@6bI4
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________