array<string>

  • Two Factor Authentication is now available on BeyondUnreal Forums. To configure it, visit your Profile and look for the "Two Step Verification" option on the left side. We can send codes via email (may be slower) or you can set up any TOTP Authenticator app on your phone (Authy, Google Authenticator, etc) to deliver codes. It is highly recommended that you configure this to keep your account safe.

Wormbo

Administrator
Staff member
Jun 4, 2001
5,913
36
48
Germany
www.koehler-homepage.de
After exporting all classes to .uc files I noticed the class Editor.EditorEngine with the following line in it:
Code:
var(Advanced) config array<string> EditPackages;
This is obviously the declaration for the EditPackages entries in UnrealTournament.ini, [Editor.EditorEngine] section.

Can I use my own array<something> declarations?
And if yes, how are these variables accessed from UScript?
 

Papapishu

我是康
Jun 18, 2001
2,043
0
0
43
void
www.vovoid.com
Ofcourse, it's an array.
you can put any class in the brackets to make it an array of that class (that contains a number of that class's objects)
Int his case, the class is "string" thus it's a string-array...
 

Shiit

Shiit
Dec 19, 2000
168
0
0
Yes, I guess so. You can add serverpackages as much as you want. I think you can handle this as a normal fixed size array, and I recall there was a function to get the size of such an array, but I couldn't find it in the Object class... Crap.
 

Shiit

Shiit
Dec 19, 2000
168
0
0
You should tell the guys from UnrealScript.com this link. They currently link to the site that is very down.
 

Shiit

Shiit
Dec 19, 2000
168
0
0
What intrigues me is, if it's not implemented, how come the mutatorlist uses it?