## XIII
Class DecoPhone

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

    Core.Object
       |
       +--Engine.Actor
          |
          +--Engine.Inventory
             |
             +--Engine.Weapon
                |
                +--XIII.XIIIWeapon
                   |
                   +--XIII.DecoWeapon
                      |
                      +--XIII.DecoPhone

Direct Known Subclasses:None

class DecoPhone
extends XIII.DecoWeapon

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

Function Summary
`simulated` | `TweenDown()`
    //_____________________________________________________________________________

Source Code

    00001	//-----------------------------------------------------------
    00002	//
    00003	//-----------------------------------------------------------
    00004	class DecoPhone extends DecoWeapon;
    00005
    00006	//_____________________________________________________________________________
    00007	simulated function TweenDown()
    00008	{
    00009	//    Log("TWEENDOWN for"@self@"bProjectileThrown="$bProjectileThrown);
    00010	//    log("#"@DBUGFrameCount@" TweenDown call for"@self);
    00011	    if ( bProjectileThrown )
    00012	      PlayAnim('DownLanc', 1.0);
    00013	    else
    00014	      PlayAnim('Down', 1.0);
    00015	}
    00016
    00017
    00018	defaultproperties
    00019	{
    00020	     SFXWhenBroken=Class'XIII.DecoBottleImpactEmitter'
    00021	     SFXWhenBrokenNotPawn=Class'XIII.DecoBottleDamaged'
    00022	     SFXWhenBrokenNoTgt=Class'XIII.DecoBottleNoImpactEmitter'
    00023	     fDelaySFXBroken=0.050000
    00024	     fDelayShake=0.350000
    00025	     hDownSound=Sound'XIIIsound.Items__BottleFire.BottleFire__hBottleFire'
    00026	     bHaveAltFire=True
    00027	     AltAmmoName=Class'XIII.DecoPhoneAmmo'
    00028	     AltPickupAmmoCount=1
    00029	     MeshName="XIIIArmes.FPSPhoneM"
    00030	     AltFireOffset=(X=5.000000,Y=17.000000,Z=-5.000000)
    00031	     LoadedAltFiringAnim="FireLanc"
    00032	     EmptyAltFiringAnim="FireLanc"
    00033	     hFireSound=Sound'XIIIsound.Items__BottleFire.BottleFire__hBottleFire'
    00034	     hSelectWeaponSound=Sound'XIIIsound.Items__BottlePick.BottlePick__hBottlePick'
    00035	     PickupClassName="XIII.PhoneDecoPick"
    00036	     PlayerViewOffset=(Z=-6.500000)
    00037	     ThirdPersonRelativeLocation=(X=8.000000,Y=-2.500000,Z=23.000000)
    00038	     ThirdPersonRelativeRotation=(Pitch=32768)
    00039	     AttachmentClass=Class'XIII.PhoneAttach'
    00040	     ItemName="Phone"
    00041	}

End Source Code