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

Difference between revisions of "UE2:SnipingVolume (UT2004)"

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
(Auto-generated page)
 
(added descriptions)
 
Line 6: Line 6:
 
| parent4 = Object
 
| parent4 = Object
 
}}
 
}}
{{autogenerated}}
+
Marks a target area for bots using an {{cl|UnrealScriptedSequence}} with {{tl|bSniping||UnrealScriptedSequence}} set to ''True''. [[Match the Tag]] of the SnipingVolume with the {{tl|SnipingVolumeTag||UnrealScriptedSequence}} of the UnrealScriptedSequence.
null
+
  
 
==Properties==
 
==Properties==
Line 15: Line 14:
 
'''[[Static arrays|Array size]]:''' 16
 
'''[[Static arrays|Array size]]:''' 16
  
<!-- enter variable description -->
+
List of {{cl|UnrealScriptedSequence}}s using this SnipingVolume as target area.
  
 
==Functions==
 
==Functions==
Line 24: Line 23:
 
'''Overrides:''' {{tl|Touch|Actor|events}}
 
'''Overrides:''' {{tl|Touch|Actor|events}}
  
<!-- enter event description -->
+
Notifies bots at the {{tl|SnipingPoints}} to acquire {{cl|Pawn}}s entering this volume as new enemy.
  
 
===Other instance functions===
 
===Other instance functions===
Line 30: Line 29:
 
{{code|function '''AddDefensePoint''' ({{cl|UnrealScriptedSequence}}&nbsp;'''S''')}}
 
{{code|function '''AddDefensePoint''' ({{cl|UnrealScriptedSequence}}&nbsp;'''S''')}}
  
<!-- enter function description -->
+
Adds the specified UnrealScriptedSequence to the {{tl|SnipingPoints}} list. This function is called from {{tl|BeginPlay|UnrealScriptedSequence}}().

Latest revision as of 11:28, 19 December 2008

UT2004 Object >> Actor >> Brush >> Volume >> SnipingVolume
Package: 
UnrealGame
This class in other games:
UT2003

Marks a target area for bots using an UnrealScriptedSequence with bSniping set to True. Match the Tag of the SnipingVolume with the SnipingVolumeTag of the UnrealScriptedSequence.

Properties[edit]

SnipingPoints[edit]

Type: UnrealScriptedSequence

Array size: 16

List of UnrealScriptedSequences using this SnipingVolume as target area.

Functions[edit]

Events[edit]

Touch[edit]

event Touch (Actor Other)

Overrides: Actor.Touch

Notifies bots at the SnipingPoints to acquire Pawns entering this volume as new enemy.

Other instance functions[edit]

AddDefensePoint[edit]

function AddDefensePoint (UnrealScriptedSequence S)

Adds the specified UnrealScriptedSequence to the SnipingPoints list. This function is called from UnrealScriptedSequence.BeginPlay().