## XIDMaps
Class Hual04aFusible

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

    Core.Object
       |
       +--Engine.Actor
          |
          +--Engine.Inventory
             |
             +--Engine.Powerups
                |
                +--XIII.XIIIItems
                   |
                   +--XIII.EventItem
                      |
                      +--XIDMaps.Hual04aFusible

Direct Known Subclasses:None

class Hual04aFusible
extends XIII.EventItem

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

Variables
`Actor` | `FuseInteraction`

States
idle

State idle Function Summary

Source Code

    00001	//-----------------------------------------------------------
    00002	//
    00003	//-----------------------------------------------------------
    00004	class Hual04aFusible extends EventItem;
    00005
    00006	var actor FuseInteraction;
    00007
    00008	//_____________________________________________________________________________
    00009	state idle
    00010	{
    00011		simulated function Activate()
    00012		{
    00013			local actor A;
    00014
    00015			A = XIIIPlayercontroller(Pawn(Owner).controller).MyInteraction.TargetActor;
    00016
    00017			if (( A == none ) || ( A != FuseInteraction ))
    00018				return;
    00019
    00020			if ( XIIIPawn(Owner).bHaveOnlyOneHandFree && (IHand == IH_2H) )
    00021				PlayerController(Pawn(owner).controller).MyHud.LocalizedMessage(class'XIIISoloMessage', 8);
    00022			else
    00023				GotoState('InUse');
    00024		}
    00025	}
    00026
    00027	//_____________________________________________________________________________
    00028
    00029
    00030	defaultproperties
    00031	{
    00032	     IconNumber=25
    00033	     sItemName="Fuse"
    00034	     PickupClassName="XIII.Hual04aFusiblePick"
    00035	     PlayerViewOffset=(Y=7.000000,Z=-7.000000)
    00036	     ItemName="Fuse"
    00037	     Event="FusibleRamasse"
    00038	     Mesh=SkeletalMesh'XIIIDeco.fpsTLfusibleM'
    00039	}

End Source Code