Command reference
GroupAITemplate
Command words: gait, groupaitemplate
Permission: SeniorAdmin
The GroupAITemplate command (which can be abbreviated as GAIT) allows you to edit templates for group AIs, which are AIs that control an entire group of NPCs at once. Unlike some other kinds of building commands, these do not use revisions so any changes are immediate.
You should also see the related group command to create groups using these templates.
You can use the following options:
gait list - lists all group AI templates
gait edit new - creates a new group AI Template
gait edit <id> - opens a specified group AI for editing
gait close - closes the currently open template
gait show - shows the currently open group AI Template
gait show <id> - shows the specified group AI Template
gait clone <which> <newname> - clones an existing group AI Template
gait set name <name> - renames this template
gait set avoid <prog> - sets the avoid prog
gait set threat <prog> - sets the threat prog
gait set avoid none - clears the avoid prog
gait set type <newtype> - changes the type of this ai
gait set emote add <text> - adds a new emote. $0 is emoter, $1 is target
gait set emote remove <#> - removes a particular emote
gait set emote <#> text <new text> - changes an emote
gait set emote <#> age <age>|none - sets or clears an age requirement for an emote
gait set emote <#> role <role>|none - sets of clears a role requirement
gait set emote <#> target <role>|none - sets or clears a target role required
gait set emote <#> gender <gender>|none - sets or clears a required gender
gait set emote <#> minalert <alertness> - sets minimum group alertness
gait set emote <#> maxalert <alertness> - sets maximum group alertness
Permission: SeniorAdmin
The GroupAITemplate command (which can be abbreviated as GAIT) allows you to edit templates for group AIs, which are AIs that control an entire group of NPCs at once. Unlike some other kinds of building commands, these do not use revisions so any changes are immediate.
You should also see the related group command to create groups using these templates.
You can use the following options:
gait list - lists all group AI templates
gait edit new - creates a new group AI Template
gait edit <id> - opens a specified group AI for editing
gait close - closes the currently open template
gait show - shows the currently open group AI Template
gait show <id> - shows the specified group AI Template
gait clone <which> <newname> - clones an existing group AI Template
gait set name <name> - renames this template
gait set avoid <prog> - sets the avoid prog
gait set threat <prog> - sets the threat prog
gait set avoid none - clears the avoid prog
gait set type <newtype> - changes the type of this ai
gait set emote add <text> - adds a new emote. $0 is emoter, $1 is target
gait set emote remove <#> - removes a particular emote
gait set emote <#> text <new text> - changes an emote
gait set emote <#> age <age>|none - sets or clears an age requirement for an emote
gait set emote <#> role <role>|none - sets of clears a role requirement
gait set emote <#> target <role>|none - sets or clears a target role required
gait set emote <#> gender <gender>|none - sets or clears a required gender
gait set emote <#> minalert <alertness> - sets minimum group alertness
gait set emote <#> maxalert <alertness> - sets maximum group alertness