Jump to content

help! about array


Recommended Posts

I test this code work

exec function test1(){
var test : String;
		test = "test1";
		theGame.GetGuiManager().ShowNotification(test);
}

but this code is not

exec function test2(){
var test : array< String >;
		test[0] = "test2";
		theGame.GetGuiManager().ShowNotification(test[0]);
}

what I did wrong?

 

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...