default properties for an array

  • 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.

Kangus

Zombie on your pwn!
Jan 29, 2001
978
0
16
Illinois, USA
www.planetunreal.com
dunno about for a struct array, but for a standard array it goes like this:

defaultproperties
{
WeaponString(0)="unrealshare.dispersionpistol"
WeaponString(1)="unrealshare.automag"
}

and so on using parentheses ()
 

tarquin

design is flawed
Oct 11, 2000
3,945
0
36
UK
www.planetunreal.com
thanks!
I think I've managed to set defaults for vectors with:
vectorU=(X=1,Y=0,Z=0)

so that'll combine nicely with the array syntax (I was fearing nesting :eek: )