Difference between revisions of "SetAllReachable"
Jump to navigation
Jump to search
imported>Kkuhlmann |
imported>Vswe m (Added Search Terms) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 15: | Line 15: | ||
[[SetNoAvoidance]] | [[SetNoAvoidance]] | ||
[[Category: Functions]] | [[Category: Functions]] | ||
[[Category:Functions (CS)]] | |||
[[Category: Functions (CS 1.0)]] | |||
[[Category: AI Functions]] | [[Category: AI Functions]] | ||
[[Category: AI Functions (CS 1.0)]] | |||
<!-- Begin Search Terms | |||
Set | |||
All | |||
Reachable | |||
Reach | |||
End Search Terms --> |
Latest revision as of 12:39, 20 June 2008
Syntax:
SetAllReachable [0/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 SetAllReachable flag is set, actors do not use pathing. They assume they can always move in a straight line from where they are to where they want to go.
See Also[edit | edit source]