Difference between revisions of "SetAllVisible"
Jump to navigation
Jump to search
imported>Bnesmith |
imported>Illyism (created page) |
||
Line 1: | Line 1: | ||
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. | |||
[[Category:Functions]] | |||
==='''Syntax:'''=== | |||
SetAllVisible [0/1] | |||
==See Also== | |||
*[[SetSceneIsComplex]] | |||
*[[SetAllReachable]] | |||
*[[SetNoAvoidance]] | |||
[[Category: Functions]] | |||
[[Category: AI Functions]] | |||
<!-- Begin Search Terms | |||
Set | |||
All | |||
Visible | |||
End Search Terms --> |
Revision as of 12:58, 30 January 2009
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:
SetAllVisible [0/1]
See Also