Always snap to grid
Difference between revisions of "UE3:UTKActor (UDK)"
(Talk) |
(Talk) |
||
Line 108: | Line 108: | ||
{{code|delegate '''OnBreakApart''' ()}} | {{code|delegate '''OnBreakApart''' ()}} | ||
− | + | This delegate is called when this UTKActor breaks | |
====OnEncroach==== | ====OnEncroach==== |
Revision as of 05:24, 17 January 2010
Object >> Actor >> DynamicSMActor >> KActor >> UTKActor |
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
Properties
Property group 'UTKActor'
bBreakWhenCausingDamage
Type: bool
If true, this KActor will break when it causes damage
bDamageOnEncroachment
Type: bool
If true, this will cause Damage on Encroachment (DOE)
bHasHealth
Type: bool
If true, this vehicle has health
bResetDOEWhenAsleep
Type: bool
If true bDamageOnEncroachment will reset when this actor sleeps or falls below a threshold
BrokenTemplate
Type: ParticleSystem
Emitter template to use when this object breaks
bTakeDamageOnEncroachment
Type: bool
Should this KActor take damage when it encroaches
DmgTypeClass
Type: class<DamageType>
When causing damage, use this damage type
Default value: Class'Engine.DmgType_Crushed'
DOEResetThreshold
Type: int
This is the velocity threshhold at which the DOE will reset. If set to 0, it will only reset on sleep
Default value: 40
EncroachDamage_Other
Type: int
How much damage this actor does upon contact
EncroachDamage_Self
Type: int
How much should it take
Health
Type: int
How much health this actor has before it's destroyed
Internal variables
bBroken
Type: bool
Modifiers: repnotify
If true, this actor is broken and no longer functional
InstigatorController
Type: Controller
Allows things to pass along a damage instigator
Subobjects
MyLightEnvironment
Class: Engine.DynamicLightEnvironmentComponent
Inherits from: KActor.MyLightEnvironment
No new values.
StaticMeshComponent0
Class: Engine.StaticMeshComponent
Inherits from: KActor.StaticMeshComponent0
Property | Value |
---|---|
ReplacementPrimitive | None |
Delegates
OnBreakApart
This delegate is called when this UTKActor breaks
OnEncroach
Functions
Events
EncroachingOn
Overrides: Actor.EncroachingOn
(Description copied from Actor.EncroachingOn)
called when this Actor is encroaching on Other and we couldn't find an appropriate place to push Other to
Returns:
- true to abort the move, false to allow it
Warning: do not abort moves of PHYS_RigidBody actors as that will cause the Unreal location and physics engine location to mismatch
ReplicatedEvent
Overrides: KActor.ReplicatedEvent
TakeDamage
Overrides: KActor.TakeDamage
Default behaviour when shot is to apply an impulse and kick the KActor.