Difference between revisions of "SetVatsTarget"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Kkuhlmann
 
imported>Cipscis
(Removed incorrect note and empty "See Also" and "References" sections; Updated to funtion template)
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:VATS Functions]]
[[Category:VATS Functions]]
[[Category:VATS]]
[[Category:VATS]]

Revision as of 07:37, 19 July 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