This is a little difficult to explain so I'll use images to help explain. But first I'll show the code that is involved.
Base package classes
Version based package classes
1. I start by adding two "objective sets" to my volume.
2. Then I populate various settings on the first "objective set"
3. Now, when I check the other "objective set", all the values from the first have been duplicated to the second. If I change any values they are duplicated to the other "objective set"
Am I doing something wrong? Is there anyway to fix this?
Base package classes
Code:
class TTVolume extends Volume
placeable;
/** TTVolume parameters can vary depending upon the current
objective for a player or team.*/
var() editinline array< class<TTObjectiveSet> > ObjectiveSets;
Code:
class TTObjectiveSet extends Object
abstract
editinlinenew
Collapsecategories;
Version based package classes
Code:
class TTObjectiveSetX extends TTObjectiveSet
hidecategories(Object)
AutoExpandCategories(TTObjectiveSetX);
/** This set is activated when this objective is reached.*/
var() int StartObj;
/** This set is de-activated when this objective is reached.*/
var() int StopObj;
/** These Actions will be active from Start Objective to Stop Objective.*/
var() editinline array< class<TTAction> > Actions;
Code:
class TTAction extends Object
abstract
editinlinenew
Collapsecategories
hidecategories(Object)
AutoExpandCategories(TTAction);
Code:
class TTA_ChangePowerups extends TTAction;
struct PowerupData
{
var() class<UTTimedPowerup> Powerup;
var() int AddTime;
var() int SubtractTime;
var() int MinTime;
var() int MaxTime;
var() bool bRemovePowerup;
};
var() array< PowerupData > PowerupChange;
/** Remove all powerups the player may be carrying. */
var() bool bRemoveAll;
1. I start by adding two "objective sets" to my volume.
2. Then I populate various settings on the first "objective set"
3. Now, when I check the other "objective set", all the values from the first have been duplicated to the second. If I change any values they are duplicated to the other "objective set"
Am I doing something wrong? Is there anyway to fix this?