npc_bot

Function used in mission creation.

Properties

chat_parameters: Describe the reference chat for the bot. Chat is specified with a series of keywords followed by a colon then by parameter(s).

Actually, the available optional parameters are:

NB: the negated keyword (-shop, -item and –mission) are more used in npc_state_chat nodes to dynamically change the content of the shop/chat.

equipment: Describe the equipment for the bot. Equipment is specified with a series of keywords followed by a color then by parameter(s). Keywords are case insensitive and must be placed one by line.

New detailed coloration

Old commands (keep for compatibility and usefulness)

Number Colour
0 Red
1 Beige
2 Green
3 Cyan
4 Blue
5 Purple
6 White
7 Black

is_stuck Flag to force the bot to spawn at the specified world location, even if the location is in a collision zone. This is used for placing merchant and other useful bot into closed shop for example.

keywords This is a set of keywords for the bot.

level This is the level of bot. The level is appended to the end of the sheet_server to obtain the server sheet name.

sheet_client This is the ‘visual’ sheet for the bot. All visual information are extracted from this sheet (e.g. sex, race, clothes…).