Difference between revisions of "SetVatsTarget"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Kkuhlmann
 
imported>Geckbot
m (Robot: Automated text replacement (-\[\[Category:(.*?)\(GECK 1.0\)\]\] +Category:\1(GECK 1.1)))
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=='''Description'''==
{{Function
 
  |origin = GECK1
'''SetVatsTarget''' turns VATS targeting on or off for a destructible object, overriding the object's base setting.
  |summary = [[SetVatsTarget]] turns VATS targeting on or off for a destructible object, overriding the object's base setting.
 
  |referenceType = DestructibleObject
=='''Syntax'''==
  |arguments = {{FunctionArgument
 
    |Name = EnableTargeting
[''ObjectREF''].SetVatsTarget [[''0/1'']]
    |Type = int
 
  }}
=='''Examples'''==
  |example = TargetMarker01REF.SetVatsTarget 1
 
}}
TargetMarker01REF.SetVatsTarget 1
 
The object, TargetMarker01, is now a valid VATS target.
 
=='''Notes'''==
Must use a reference when used in script, as in:
 
set mySelf to getSelf
 
myself.SetVatsTarget 1
 
=='''See Also'''==
 
 
=='''Reference'''==
None provided.
<!-- [[SetActorsAI_Reference|List of functions that use SetActorsAI]]  (wiki) -->


[[Category:Functions]]
[[Category:Functions]]
[[Category:Functions (GECK 1.1)]]
[[Category:VATS Functions]]
[[Category:VATS Functions]]
[[Category:VATS Functions (GECK 1.1)]]
[[Category:VATS]]
[[Category:VATS]]

Latest revision as of 14:15, 15 August 2009

< [[::Category:Functions|Category:Functions]]

A function included in the GECK version 1.1.0.36.

Description

SetVatsTarget turns VATS targeting on or off for a destructible object, overriding the object's base setting.

Syntax

[help]
DestructibleObject.SetVatsTarget EnableTargeting:int

Example

TargetMarker01REF.SetVatsTarget 1