IMM_DLGATTACHED
Keywords: IMM_DLGATTACHED, WIZ_DLGATTACHED, DLGATTACHED
=== STAFF MANUAL ===
Usage: dlgattached <dialogue vid>
Description:
Find every NPC a dialogue tree is attached to. Scans all mob
prototypes for the given dialogue and lists each match. Dialogue
links live on the mob prototype (its Dialogue field in medit),
so a single prototype scan finds every NPC that uses the tree.
Requires General privileges.
Argument:
A dialogue VID (zone:namespace:number). A bare number
inherits your current room's zone. The dialogue must exist and not
be deleted, or you will see That is not a valid dialogue.
Output:
Each attached NPC is numbered with its VID and name:
1. [human:camp:5] Sergeant Kane
2. [human:camp:9] Quartermaster Voss
A summary line follows with the total:
Dialogue human:camp:0 is attached to 2 mobs.
If nothing uses it:
Dialogue human:camp:0 is not attached to any mobs.
Notes:
- Output is paged. An overflow warning is shown if the
result set exceeds the buffer limit.
- Companion to vattached, which does the same reverse
lookup for trigger scripts. See also dlglist for listing
the dialogues in a zone.
Related Helpfiles: WIZ_DLGEDIT, WIZ_VATTACHED, ZLIST
=== END MANUAL ===