## XIII
Class XIIIThingsToSave

source: C:\XIII\XIII\Classes\XIIIThingsToSave.uc

    Core.Object
       |
       +--Engine.Actor
          |
          +--Engine.Inventory
             |
             +--Engine.Powerups
                |
                +--XIII.XIIIThingsToSave

Direct Known Subclasses:None

class XIIIThingsToSave
extends Engine.Powerups

    //-----------------------------------------------------------
    // Used for saving things between maps and info on the save point.
    //-----------------------------------------------------------

Variables
`int` | `CheckpointNumber` Indicates the checkpoint number XIII last reached (0 = map start)
`int` | `Health` Save HP for the player.
`array` | `ObjectivesState` Save all objectives states
`sound` | `SoundToLaunch` Indicates the checkpoint number XIII last reached (0 = map start)
`Lineind,` | `Speakerind`
`float` | `SpeedFactorLimit` Save speed modifier for the player
`name` | `XIIISaveGameTriggerTag` Save Tag to not save again just after Loading.
`bool` | `bAntiGoal`
`bool` | `bCompleted`
`bool` | `bPrimary`

Source Code

    00001	//-----------------------------------------------------------
    00002	// Used for saving things between maps and info on the save point.
    00003	//-----------------------------------------------------------
    00004	class XIIIThingsToSave extends Powerups;
    00005
    00006	struct XIIIGoals
    00007	{
    00008	    var bool bCompleted;
    00009	    var() bool bPrimary;
    00010	    var() bool bAntiGoal;
    00011	};
    00012
    00013	// MLK: used to record spoken dialogs & to be able to consult them
    00014	struct DialIndex
    00015	{
    00016	    var byte Lineind, Speakerind;
    00017	};
    00018
    00019	var travel int Health;      // Save HP for the player.
    00020	var travel name XIIISaveGameTriggerTag; // Save Tag to not save again just after Loading.
    00021	var travel float SpeedFactorLimit;      // Save speed modifier for the player
    00022	var travel array<XIIIGoals> ObjectivesState;  // Save all objectives states
    00023	//var array<DialIndex> DialogtoSave;      // ELR :: DON'T Save dialog states between maps (but keep them in the current map
    00024	var travel int CheckpointNumber;          // Indicates the checkpoint number XIII last reached (0 = map start)
    00025	var travel sound SoundToLaunch;
    00026
    00027
    00028
    00029	defaultproperties
    00030	{
    00031	     Health=130
    00032	     XIIISaveGameTriggerTag="'"
    00033	}

End Source Code