Mostly Harmless
Difference between revisions of "UE2:SnipingVolume (UT2004)"
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 11:28, 19 December 2008
- 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().