Thank you for posting this! It works!!! I was basing my event_proximity_say off the Event Subroutines
example in the Quest API of Gitbook. This is what the example that I used has:
Code:
sub EVENT_SPAWN {
#:: Create a proximity, 100 units across, 100 units tall, enable proximity say
quest::set_proximity($x - 50, $x + 50, $y - 50, $y + 50, $z - 50, $z + 50, 1);
}
sub EVENT_PROXIMITY_SAY {
#:: Match say message for "hail", /i for case insensitive
if ($text=~/hail/i) {
quest::say("Hello, $name!");
}
}
However, in the code from Grand_Historian_Thoridain that you posted, I see a major difference:
Code:
quest::enable_proximity_say();
Looks like the example script on Gitbook just forget to add that important line of code, so that proximity say was never enabled. Thank you for pointing this out!!! What a huge waste of time LOL