What I need someone to work on is building these secondary_command lists, then assigning them to the proper NPC. The procedure for this is as follows (using <Guards> as an example):
- 1. Go to the Spawns editor, select your zone, NPCs, and the NPC you wish to edit.
2. In the "Commands" group of the editor, set the following data:- command_primary: the action that a single-click will execute
command_secondary: the list of alternate commands shown with right-clicking the spawn
4. Click Update to save your spawn data. On next /reload spawn or server restart, your new command list should show. - command_primary: the action that a single-click will execute
This is a bit confusing and complex, but once you see it work, it makes perfect sense. If an assigned entity_command "command_list_id" has more than 1 value, it becomes a multiple-choice menu on right-click. To build new command_secondary lists, the command_list_id must have more than 1 value and you use the Server -> entity_command editor for this task.
- 1. Go to the Server editor and select the entity_command page
2. Find a command_list_id not already in use and go to the New input at the bottom of the list
3. Using 100 as an example, enter the following info to build a command_secondary for <Guard> NPCs:- command_list_id: 100
command_text: hail
distance: 10
command: hail
error_text: <leave blank>
5. Repeat step 3 for "attack" and "assist" command_text and command values.
6. All command_list_id's must be 100 to show up on the same right-click menu.
7. Take note of the "100" you used to build this list, now you can assign "100" to the command_secondary of the NPCs you wish to use this new right-click menu. - command_list_id: 100