## XIDMaps
Class Hual01b

source: C:\XIII\XIDMaps\Classes\Hual01b.uc

    Core.Object
       |
       +--Engine.Actor
          |
          +--Engine.Info
             |
             +--XIII.MapInfo
                |
                +--XIDMaps.Map06_HualparBase
                   |
                   +--XIDMaps.Hual01b

Direct Known Subclasses:None

class Hual01b
extends XIDMaps.Map06_HualparBase

    //-----------------------------------------------------------
    //
    //-----------------------------------------------------------

Variables
`int` | `iNbGenBroken`

Function Summary
`void` | `SetGoalComplete(int N)`

Source Code

    00001	//-----------------------------------------------------------
    00002	//
    00003	//-----------------------------------------------------------
    00004	class Hual01b extends Map06_HualparBase;
    00005
    00006	VAR int iNbGenBroken;
    00007	VAR(Hual01bSetUp) LadderVolume ElectricalLadder;
    00008	VAR(Hual01bSetUp) StaticMeshActor ElectricalSFX;
    00009
    00010	FUNCTION SetGoalComplete(int N)
    00011	{
    00012	    Super.SetGoalcomplete(N);
    00013
    00014	    if ( N == 99 )
    00015	    {
    00016			iNbGenBroken ++;
    00017			switch(iNbGenBroken)
    00018			{
    00019				case 1:
    00020				case 2:
    00021				case 3:
    00022					Objectif[iNbGenBroken+1].bCompleted = true;
    00023					SetPrimaryGoal(iNbGenBroken+2);
    00024					break;
    00025				case 4:
    00026					Objectif[5].bCompleted = true;
    00027					SetSecondaryGoal(5);
    00028					SetPrimaryGoal(6);
    00029					ElectricalLadder.bPainCausing = false;
    00030					ElectricalLadder.DamagePerSec = 0;
    00031					ElectricalSFX.bHidden = true;
    00032					ElectricalSFX.SetDrawType(DT_None);
    00033					TriggerEvent('PowerShotDown', self, XIIIPawn);
    00034					Super.SetGoalcomplete(2);
    00035					break;
    00036			}
    00037			return;
    00038	    }
    00039
    00040	    if ( N == 1 )
    00041	    {
    00042			if ( iNbGenBroken < 4 )
    00043				SetPrimaryGoal(2);
    00044	    }
    00045	}
    00046
    00047
    00048
    00049	defaultproperties
    00050	{
    00051	}

End Source Code