Difference between revisions of "SetAllVisible"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Illyism
imported>Geckbot
m (Robot: Automated text replacement (-\[\[Category:(.*?)\(GECK 1.0\)\]\] +Category:\1(GECK 1.1)))
 
(2 intermediate revisions by the same user not shown)
Line 5: Line 5:
When the SetAllVisible flag is set, actors do not perform LineOfSight checks. When actors check to see if they can see something, they assume they can see its head.
When the SetAllVisible flag is set, actors do not perform LineOfSight checks. When actors check to see if they can see something, they assume they can see its head.
|returnType = void
|returnType = void
|arg1 = enable
|arguments = {{FunctionArgument
|arg1Type = int
    |Name = enable
    |Type = int
  }}
|example = SetAllVisible 1
|example = SetAllVisible 1
}}
}}
Line 17: Line 19:


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


<!-- Begin Search Terms
<!-- Begin Search Terms

Latest revision as of 13:04, 15 August 2009

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

A function included in the GECK version 1.1.0.36.

Description

This is one of 4 functions which can be used to increase the game's performance in situations where many actors are in combat or otherwise doing complex pathing. Note that the flag is cleared every frame, so this function needs to be called in a script running on a reference in the loaded area.

When the SetAllVisible flag is set, actors do not perform LineOfSight checks. When actors check to see if they can see something, they assume they can see its head.

Syntax

[help]
SetAllVisible enable:int

Example

SetAllVisible 1

See Also