## XIDMaps
Class BarFight

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

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

Direct Known Subclasses:None

class BarFight
extends XIII.MapInfo

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

Function Summary
`void` | `FirstFrame()`

Source Code

    00001	//-----------------------------------------------------------
    00002	//
    00003	//-----------------------------------------------------------
    00004	class BarFight extends MapInfo placeable;
    00005
    00006	VAR(BarSetup) Name ExitKeyEvent;
    00007	VAR(BarSetup) XIIIPawn ExitKeyKeeper;
    00008	var(BarSetup) Porte FinalDoor;
    00009	var(BarSetup) localized string sFinalDoorKeyName;
    00010	function FirstFrame()
    00011	{
    00012	    local inventory Inv;
    00013
    00014	    Super.FirstFrame();
    00015
    00016	    if ( ExitKeyKeeper != none )
    00017	    {
    00018	      Inv = GiveSomething(class'Keys', ExitKeyKeeper );
    00019	      Inv.Event = ExitKeyEvent;
    00020	      Keys(Inv).KeyCodeName = FinalDoor.UnlockItemCode;
    00021	      Inv.ItemName = sFinalDoorKeyName;
    00022	    }
    00023	}
    00024
    00025
    00026
    00027	defaultproperties
    00028	{
    00029	     ExitKeyEvent="ExitKeyEvent"
    00030	}

End Source Code