class RokkitTriggerVolume extends TriggerVolume;
simulated function PostBeginPlay() {
`log("=================== Rokkit Trigger Volume ===================");
}
event Touch(Actor Other, PrimitiveComponent OtherComp, Vector HitLocation, Vector HitNormal) {
`log("=================== Actor: " @ Other @ " Touched the Volume ===================");
if( RokkitPawn(Other) != none ) {
RokkitPawn(Other).BoostPawn( HitNormal );
RokkitPawn(Other).bKeepBoosting = true;
}
}
event UnTouch( Actor Other ) {
if ( RokkitPawn(Other) != none ) {
`log("=================== Actor: " @ Other @ " UnTouched the Volume ===================");
RokkitPawn(Other).bKeepBoosting = false;
}
}
DefaultProperties
{
}