home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Game Level Design
/
GLDesign.bin
/
Software
/
UnrealEngine2Runtime
/
UE2Runtime-22262001_Demo.exe
/
Gameplay
/
Classes
/
AnimNotify_FireWeapon.uc
< prev
next >
Wrap
Text File
|
2003-12-11
|
392b
|
11 lines
class AnimNotify_FireWeapon extends AnimNotify_Scripted;
event Notify( Actor Owner )
{
// fake fire - play weapon effect, but no real shot
Pawn(Owner).bIgnorePlayFiring = true;
WeaponAttachment(Pawn(Owner).Weapon.ThirdPersonActor).ThirdPersonEffects();
if ( Pawn(Owner).Weapon.FireSound != None )
Pawn(Owner).Weapon.PlaySound(Pawn(Owner).Weapon.FireSound, SLOT_None, 1.0);
}