$client->movepc
Anyone else having a problem with this function no longer working.
Every script I had it in will no longer use it. |
yea I noticed it quit working I just use
Code:
quest::moveto(x,y,z,h,hold); |
Problem is without the quest object version you can't move players via npc scripts, ect you want to simulate a mob summoning a player durring combat among many many other uses.. It's obviously too valuable a function to let stay broken, I am sure it will be fixed.
|
Code:
quest::movepc(zoneid,x,y,z,heading=0) and if that no workie, then could try Code:
quest::gmmove(x,y,z) |
GMMove does not work with players, only NPC.
Depending on what function you want the quest:: version will do the same thing however there are many situations where it can not. You can not use quest:: version if their is no direct client NPC interaction. For example. You can search the list of all clients in zone, and lets say you want all those that are not within +/- a certain distance of your NPC to be summoned back to it. You have to use the object function. If your just using a simple script for hail npc and then npc ports you to zone x, then yes it is not required. |
Post a section of script that is failing. (PS always do this when asking for quest support)
|
Its not a script, its just the general use of the function that stops any script cold and doesn't work anymore. I'll just write an example if you need.
Code:
sub EVENT_SAY { |
MovePC is case sensitive.
|
Excellent, glad that is the only issue.
Just curious when that changed? I have countless scripts that used it as movepc not MovePC and they worked up until recently. Not a big deal to change them though. |
...it hasn't changed is the thing. I'm pretty sure satan is meddling with your scripts or something.
|
Devil be gone!
Anyways thanks it is working fine now. Wonder other magical surprises Storm Haven has decided to give... |
|
I added the fix in my editor so that the syntax is case preserved.
GeorgeS |
All times are GMT -4. The time now is 06:27 PM. |
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.