Hello, I have a question about rewrite the array data in config files. first, I create a new Pawn class which is inherit from pawn: ZombiePawn. Every ZombiePawn have several levels, every level corresponds a healthMax. so I define a struct to describe it:
struct Desc
{ int level; int heathMax; };
var() gloablconfig array< Desc > HeathMaxDesc;
I do this in config files:
+HealthMaxDesc = ( level = 0, healthMax=2000 )
+HealthMaxdesc = ( level = 1, healthmax=4000)
now, I have a special ZombiePawn, this pawn have a bigger HealthMax, so I wan't to rewrite this HealthMaxDesc array in configfile.
But I can't find the method to do this. On UDN, I find - !, but I don't know how to use it work with array data type.
thanks a lot.
struct Desc
{ int level; int heathMax; };
var() gloablconfig array< Desc > HeathMaxDesc;
I do this in config files:
+HealthMaxDesc = ( level = 0, healthMax=2000 )
+HealthMaxdesc = ( level = 1, healthmax=4000)
now, I have a special ZombiePawn, this pawn have a bigger HealthMax, so I wan't to rewrite this HealthMaxDesc array in configfile.
But I can't find the method to do this. On UDN, I find - !, but I don't know how to use it work with array data type.
thanks a lot.