I search for solutions in this order: Past Code, Unreal Source, Wiki, BUF, groups.yahoo, google, screaming at monitor. – RegularX
UE2:HackTrigger (U2)
Contents
- 1 Constants
- 2 Properties
- 3 Structs
- 4 Functions
- 4.1 Events
- 4.2 Other instance functions
- 4.2.1 ActiveUserCount
- 4.2.2 AddUser
- 4.2.3 DecayHackProgress
- 4.2.4 Dispatch
- 4.2.5 GetDescription
- 4.2.6 GetTeam
- 4.2.7 GetTeamProgress
- 4.2.8 GetUseIconIndex
- 4.2.9 GetUsePercent
- 4.2.10 GetUserIndex
- 4.2.11 GetUserTeam
- 4.2.12 HandleAlreadyHacked
- 4.2.13 HandleAmbientSound
- 4.2.14 HandleHacked
- 4.2.15 HandlePlaySound
- 4.2.16 HasUseBar
- 4.2.17 IsHacking
- 4.2.18 OnUnuse
- 4.2.19 OnUse
- 4.2.20 PlayHackedMessages
- 4.2.21 ProgressExists
- 4.2.22 RegisterHackScore
- 4.2.23 RemoveIdleUsers
- 4.2.24 RemoveUser
- 4.2.25 SetTeam
- 4.2.26 UnDispatch
- 4.2.27 UserCount
- Package:
- U2
- Direct subclasses:
- DeploymentPoint, EnergySource, HackSwitch, HackTriggerProxied, ShieldWallTrigger
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. |
HackTrigger.uc
Constants
MaxTeams
Value: 4
Properties
Property group 'HackTrigger'
AlreadyHackedSound
Type: Sound
sound when a fully hacked trigger is used by hacked team
Default value: Sound'U2A.Hacking.AlreadyHacked'
bIgnoreAlreadyHacked
Type: bool
don't re-dispatch events when hack team re-uses us.
bTriggerTeam
Type: bool
whether to call SetTeam on all Event targets
DecayRate
Type: float
rate at which hacking progress decays
Default value: 0.4
Description
Type: string
shows up on the hud
Default value: "Panel"
HackAmbientSound
Type: Sound
sound while hacking
Default value: Sound'U2A.Hacking.HackAmbient'
HackCompletedSound
Type: Sound
sound when trigger is fully hacked
Default value: Sound'U2A.Hacking.HackCompleted'
HackStartSound
Type: Sound
sound when hacking begins
Default value: Sound'U2A.Hacking.HackStart'
RehackDelay
Type: float
seconds to wait between hacking attempts
Team
Type: int
-1 for neutral
Default value: 255
TotalHackSeconds
Type: float
total time needed to hack the object to a team
Default value: 3.0
Internal variables
HackGainedMessage
Type: class<LocalMessage>
game message for hack team
HackLostMessage
Type: class<LocalMessage>
game message for losing team
LastHackedTime
Type: float
time at which the object was last hacked
RepEvent
Type: name
replicated actor event
ReplicatedActorID
Type: string
TeamProgress
Type: float
Array size: 4 (MaxTeams
)
time this object has been hacked by various teams
Users
list of players currently using me
Default values
Property | Value |
---|---|
bBlockNonZeroExtentTraces | False |
bCollideActors | True |
bProjTarget | True |
bShadowCast | True |
bStaticLighting | True |
bUsable | True |
DrawType | DT_StaticMesh |
SoundOcclusion | OCCLUSION_None |
Structs
UserInfoT
Modifiers: native
- bool bUsing
- Controller C
- float Progress
Functions
Events
PostBeginPlay
Overrides: Actor.PostBeginPlay
PreBeginPlay
Overrides: Actor.PreBeginPlay
Tick
Overrides: Actor.Tick
Other instance functions
ActiveUserCount
AddUser
DecayHackProgress
Dispatch
GetDescription
Overrides: Actor.GetDescription
GetTeam
Overrides: Actor.GetTeam
GetTeamProgress
GetUseIconIndex
Overrides: Actor.GetUseIconIndex
GetUsePercent
Overrides: Actor.GetUsePercent
GetUserIndex
GetUserTeam
HandleAlreadyHacked
HandleAmbientSound
HandleHacked
HandlePlaySound
HasUseBar
Overrides: Actor.HasUseBar
IsHacking
OnUnuse
Overrides: Actor.OnUnuse
OnUse
Overrides: Actor.OnUse
PlayHackedMessages
ProgressExists
RegisterHackScore
RemoveIdleUsers
RemoveUser
SetTeam
Overrides: Actor.SetTeam