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 | ||
}} | }} | ||
{{ | 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. | ||
==Properties== | ==Properties== | ||
Line 15: | Line 14: | ||
'''[[Static arrays|Array size]]:''' 16 | '''[[Static arrays|Array size]]:''' 16 | ||
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}} | ||
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}} '''S''')}} | {{code|function '''AddDefensePoint''' ({{cl|UnrealScriptedSequence}} '''S''')}} | ||
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
- 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().