Jump to content

[patch]SCRIPT_COMMAND_TALK: extended search


Recommended Posts

Posted

Currently, the team SCRIPT_COMMAND_TALK can search for NPC within a certain radius.

In the case of flight taxi NPC is far away, so part of the sentence says the player.

With this patch may find the following additional options:

1. datalong2 > 0, datalong3 = 0, datalong4 > 0 - will search for NPC by guid (the case with the flight to taxi)

2. datalong2 > 0, datalong3 > 0, datalong4 > 0 - will search for NPC by guid. If nothing was found, it will search for Entry in radius.

Provides error log when misaligned parameters datalong2, datalong3 and datalong4.

The rest of the patch does not affect functionality, founded in commit 9889.

Revision of the kernel: 9984

Author: I

Patch: http://paste2.org/p/854073

  • 7 months later...
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use