zedtest3 #3
@ -23,12 +23,19 @@ simulated function Tick(float DeltaTime) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
function Touch(Actor Other) {
|
|
||||||
|
function Touch(Actor Other)
|
||||||
|
{
|
||||||
|
if (Other == none)
|
||||||
|
return;
|
||||||
|
|
||||||
super.Touch(Other);
|
super.Touch(Other);
|
||||||
if (Other.IsA('ShotgunBullet')) {
|
if (Other.IsA('ShotgunBullet'))
|
||||||
|
{
|
||||||
ShotgunBullet(Other).Damage = 0;
|
ShotgunBullet(Other).Damage = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function RangedAttack(Actor A) {
|
function RangedAttack(Actor A) {
|
||||||
local int LastFireTime;
|
local int LastFireTime;
|
||||||
if ( bShotAnim )
|
if ( bShotAnim )
|
||||||
|
Loading…
Reference in New Issue
Block a user