The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

UE2:StationaryWeapons (U2)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
U2 Object >> Actor >> Pickup >> StationaryWeapons
Package: 
Engine
This class in other games:
UE2Runtime

Class: WarfareGame.StationaryWeapons Parent: Engine.Actor

Properties

Property group 'StationaryWeapons'

bIgnoreTeammates

Type: bool

This weapon will ignore teammates

Default value: True

Meshes

Type: StaticMesh

Array size: 2

What meshes to use

TeamIndex

Type: int

The team that owns this weapon

Internal variables

bActive

Type: byte

Is this weapon active

bLastActive

Type: byte

What was the last bActive

Default values

Property Value
bFixedRotationDir False
bOnlyReplicateHidden False
bProjTarget True
DesiredRotation
Member Value
Yaw 0
DrawType DT_StaticMesh
RemoteRole ROLE_SimulatedProxy
RotationRate
Member Value
Yaw 0

Functions

Events

Activated

simulated event Activated ()


Deactivated

simulated event Deactivated ()


PostBeginPlay

event PostBeginPlay ()

Overrides: Actor.PostBeginPlay


TakeDamage

event TakeDamage (int Damage, Pawn EventInstigator, Object.Vector HitLocation, Object.Vector Momentum, class<DamageTypeDamageType)

Overrides: Actor.TakeDamage


Other instance functions

Activate

function Activate ()


DeActivate

function DeActivate ()


Explode

function Explode (Object.Vector HitLocation, Object.Vector HitNormal)


ReduceDamage

function float ReduceDamage (int Damage, class<DamageTypeDamageType)


SetTeam

function SetTeam (int NewTeamIndex)

Overrides: Actor.SetTeam


States

fucked

Modifiers: auto