Worst-case scenario: the UEd Goblin wipes the map and burns down your house.

UE3:UTVehicle_Scorpion instance functions (UDK)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 05:24, 17 January 2010 by (Talk)

Jump to: navigation, search
UDK Object >> Actor >> Pawn >> Vehicle >> SVehicle >> UTVehicleBase >> UTVehicle >> UTVehicle_Scorpion (instance functions)
UTVehicle_Scorpion instance functions in other games:
UT3
Other member categories for this class:
UTVehicle Scorpion defaults, UTVehicle Scorpion internal variables, UTVehicle Scorpion Content defaults

Instance functions

AdjustFOVAngle

simulated function float AdjustFOVAngle (float FOVAngle)


BlowupVehicle

simulated function BlowupVehicle ()

Overrides: UTVehicle.BlowupVehicle

Call this function to blow up the vehicle

BreakOffBlade

simulated function BreakOffBlade (bool bLeftBlade)

breaks off the given blade by scaling the bone to zero and spawning effects

CanBeBaseForPawn

simulated function bool CanBeBaseForPawn (Pawn APawn)

Overrides: Pawn.CanBeBaseForPawn

Are we allowing this Pawn to be based on us?

CauseMuzzleFlashLight

simulated function CauseMuzzleFlashLight (int SeatIndex)

Overrides: UTVehicle.CauseMuzzleFlashLight

Causes the muzzle flashlight to turn on and setup a time to turn it back off again.

ChargeAttackObjective

function bool ChargeAttackObjective (UTBot B, UTGameObjective O)

Overrides: UTVehicle.ChargeAttackObjective

returns true if vehicle should charge attack this node (also responsible for setting up charge)

CheckScriptedSelfDestruct

function CheckScriptedSelfDestruct ()


ChooseFireMode

function byte ChooseFireMode ()

Overrides: UTVehicleBase.ChooseFireMode

AI - Returns the best firing mode for this weapon

CriticalChargeAttack

function bool CriticalChargeAttack (UTBot B)

Overrides: UTVehicle.CriticalChargeAttack

Recommend high priority charge at enemy

DeactivateHandbrake

simulated function DeactivateHandbrake ()

DeactivateHandbrake() called (usually by a timer) to deactivate the handbrake

DisableVehicle

simulated function bool DisableVehicle ()

Overrides: UTVehicle.DisableVehicle

Self destruct immediately if activated and hit by EMP

DisplayHud

simulated function DisplayHud (UTHUD Hud, Canvas Canvas, Object.Vector2D HudPOS, optional int SeatIndex)

Overrides: UTVehicle.DisplayHud


DriverEnter

function bool DriverEnter (Pawn P)

Overrides: UTVehicle.DriverEnter

DriverEnter() Make Pawn P the new driver of this vehicle

DriverLeft

function DriverLeft ()

Overrides: UTVehicle.DriverLeft

DriverLeft() called by DriverLeave() after the drive has been taken out of the vehicle

EagleEyeTarget

function bool EagleEyeTarget ()

Overrides: UTVehicle.EagleEyeTarget


FindAutoExit

function bool FindAutoExit (Pawn ExitingDriver)

Overrides: UTVehicle.FindAutoExit

If exit while boosting, boost out of the vehicle Try to exit above

IsGoodTowTruck

function bool IsGoodTowTruck ()

Overrides: UTVehicle.IsGoodTowTruck

(Description copied from UTVehicle.IsGoodTowTruck)


Returns:

whether bots should consider attaching a tow link to this vehicle

LockWheels

simulated function LockWheels ()

when called makes the wheels stick to the ground more

OnActivateRocketBoosters

function OnActivateRocketBoosters (UTSeqAct_ActivateRocketBoosters BoosterAction)


OnSelfDestruct

function OnSelfDestruct (UTSeqAct_SelfDestruct Action)


OverrideBeginFire

simulated function bool OverrideBeginFire (byte FireModeNum)

Overrides: UTVehicle.OverrideBeginFire

(Description copied from UTVehicle.OverrideBeginFire)
Gives the vehicle an opportunity to override the functionality of the given fire mode, called on both the owning client and the server

Returns:

false to allow the vehicle weapon to use its behavior, true to override it

OverrideEndFire

simulated function bool OverrideEndFire (byte FireModeNum)

Overrides: UTVehicle.OverrideEndFire


PancakeOther

function PancakeOther (Pawn Other)

Overrides: UTVehicle.PancakeOther

Crush the pawn vehicle is encroaching

PlaySelfDestruct

simulated function PlaySelfDestruct ()


ReadyToSelfDestruct

function bool ReadyToSelfDestruct ()


RecommendCharge

function bool RecommendCharge (UTBot B, Pawn Enemy)

Overrides: UTVehicle.RecommendCharge


ServerBoost

reliable server function ServerBoost ()


SetBladesExtended

simulated function SetBladesExtended (bool bExtended)

extends and retracts the blades

SetBurnOut

simulated function SetBurnOut ()

Overrides: UTVehicle.SetBurnOut

We override here as the scorpion uttlery destroys itself when it blows up! So we need to turn off the damage effects as they are out of place just floating in the air.

SetInputs

simulated function SetInputs (float InForward, float InStrafe, float InUp)

Overrides: UTVehicle.SetInputs

Console specific input modification

StopVehicleSounds

simulated function StopVehicleSounds ()

Overrides: UTVehicle.StopVehicleSounds


TeamChanged

simulated function TeamChanged ()

Overrides: UTVehicle.TeamChanged

This function is called when the team has changed. Use it to setup team specific overlays/etc

NOTE: the UTVehicle_Scavenger is doing all kinds of crazy special case stuff and does NOT call super. Make certain that you check UTVehicle_Scavenger.TeamChanged() when making changes here.

TooCloseToAttack

function bool TooCloseToAttack (Actor Other)

Overrides: UTVehicle.TooCloseToAttack

(Description copied from UTVehicle.TooCloseToAttack)
Check to see if Other is too close to attack

Parameters:

  • Other - Actor to check against

Returns:

true if he's too close

TryToDrive

function bool TryToDrive (Pawn P)

Overrides: UTVehicle.TryToDrive

(Description copied from UTVehicle.TryToDrive)
The pawn Driver has tried to take control of this vehicle

Parameters:

  • P - The pawn who wants to drive this vehicle

UnlockWheels

simulated function UnlockWheels ()

Resets the variables that are changed in the LockWheels call