$client->movepc?
is there any equivalent client function like quest::movepc? I'm storing an array of client names and basically if a timer expires i want force a movepc on them all.
So basically. -client enters proximity and added to list. -timer starts -if client exit proximity delete from list -timer expires -now move anyone still in the list away so using: $client = $entity_list->GetClientByName($namefromlist) I can get the client I just don't know how to move them. Any ideas? |
$client->MovePC(zoneID, x, y, z, ignorerestrictions= 0, summoned= false)
http://www.eqemulator.net/wiki/wikka...a=QuestObjects Above link has a nice list of all the objects you can use. |
awesome thanks. are these functions case sensitive?
|
Yes, all quest objects are case sensitive.
|
hmm it doesnt seem to work.
Code:
$c = $entity_list->GetClientByName($player); |
If you are using one of the entity list searches, you should just have to do something like this:
Code:
my @clientlist = $entity_list->GetClientList(); |
well I already have the names stored previously that is why I was using GetClientByName. The if($c) passes and I am able to do a $c->GetName() to verify I do indeed have the client but the move just fails. I will modify it to something more like you have and see if anything changes.
Thanks. |
Quote:
|
Try $ent->MovePC(19, 456, 825, 9, 1);
It seems to require the ignore restrictions 0/1 flag. |
Quote:
I had tried with $ent->MovePC(19, 456, 825, 9, 0, false); but didn't really know what they were for. Thanks for the help guys. |
All times are GMT -4. The time now is 01:08 PM. |
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.