Function:
- Code: Select all
void PM_Level_Reload()
{
strcpy(PM_Level1_Text.text, Level_Text[3]);
strcpy(PM_Level2_Text.text, Level_Text[2]);
strcpy(PM_Level3_Text.text, Level_Text[1]);
strcpy(PM_Level4_Text.text, Level_Text[0]);
}
I execute the function in another actor with
- Code: Select all
PM_Level_Reload();
But when I start the game, and the funtion is executed, the text of PM_Level1_Text has changed, but to the value of null.
Does someone know, what i am doing wrong, or should i upload the whole game?