LuaAISettings

Collection of settings for overriding default ai behavior.

class LuaAISettings - sort
allow_destroy_when_commands_fail :: boolean [RW] If enabled, units that repeatedly fail to succeed at commands will be destroyed.
allow_try_return_to_spawner :: boolean [RW] If enabled, units that have nothing else to do will attempt to return to a spawner.
do_separation :: boolean [RW] If enabled, units will try to separate themselves from nearby friendly units.
path_resolution_modifier :: int8 [RW] The pathing resolution modifier, must be between -8 and 8.
valid :: boolean [R] Is this object valid?
object_name :: string [R] The class name of this object.
help() → string All methods and properties that this object supports.
allow_destroy_when_commands_fail :: boolean [Read-Write]

If enabled, units that repeatedly fail to succeed at commands will be destroyed.

allow_try_return_to_spawner :: boolean [Read-Write]

If enabled, units that have nothing else to do will attempt to return to a spawner.

do_separation :: boolean [Read-Write]

If enabled, units will try to separate themselves from nearby friendly units.

path_resolution_modifier :: int8 [Read-Write]

The pathing resolution modifier, must be between -8 and 8.