Code:
$mob->SendTo(new_x, new_y, new_z) nuff said. |
hmm icouldnt get htat to work, ill play with it some more later.
|
Worked fine for me, running it from a signal.
|
yep works like a charm, had to use $npc->SendTo, for what im doing now, but i think that would definatley be the best way to have Vulak or anyone summon mobs like they did on live.
Thanks maze :P This is what i was working on and the syntax i used it in Code:
sub EVENT_HP { |
I am confused - is the script for Vulak or for the dragon being summoned?
What is the significance of modifying its stats? |
Sorry, i was showing maze what i had to do to get it to work vs $mob->SendTo, $npc->SendTo, that script was unrelated ill remove it so as to not cause confusion.
I just tested this on my server, covering greater distances tho your right chaos, in that it wont "summon" the mob, it will only force them to path to the location you send them too. SO in the case of ToV, all the dragons aggroed but they arent summoned directly on top on you, still has a similar affect IMO its just a delayed one. this is the code i tested: The Code For Vulak: Code:
sub EVENT_COMBAT { Code:
sub EVENT_SIGNAL { Edit: NM wont let me edit my post above 8(, so sorry ahead of time if that causes any more confusion. |
yeah I got it ;)
I guess optimal solution would get our developers to export gm #summon command into Perl ;) |
yeah i think so too lol, or look @ a plugin that would allow for the same kind of functionality.
|
Maybe you guys could just take a peek at the code so you know what it does before you assume it doesn't work.
#summon Code:
void Mob::GMMove(float x, float y, float z, float heading, bool SendUpdate) { Code:
void Mob::SendTo(float new_x, float new_y, float new_z) { But wait, there's more... The GMMove command, you know, what #summon uses to move someone, is exported to Perl as well. In fact it's used 76 times in the PEQ quest scripts. |
Never saw it :P Thanks lex ill play wiht it some more later, but yeah the issue witn sendto is definately, over short distances visually a port to a spot, but it was causing all the dragons to pat in ToV which was a long distance.
Since none of this was part of my original script i hadnt really looked into it in too much depth, so perfectly natural i might miss a few things. Thanks :P |
For what it's worth, I remember an ancient video files of FoH I believe raiding Vulak. He damn sure didn't summon the Lords/Ladies to him, they pathed their happy rears through anything in their way to get to his chambers.
|
All times are GMT -4. The time now is 01:19 AM. |
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.