UE2:SnipingVolume (UT2004): Difference between revisions

From Unreal Wiki, The Unreal Engine Documentation Site
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 12:28, 19 December 2008

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

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

SnipingPoints

Type: UnrealScriptedSequence

Array size: 16

List of UnrealScriptedSequences using this SnipingVolume as target area.

Functions

Events

Touch

event Touch (Actor Other)

Overrides: Actor.Touch

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

Other instance functions

AddDefensePoint

function AddDefensePoint (UnrealScriptedSequence S)

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