help change players target?
i want to change the players target on my buffer to ither nothing or to the player so that could buffs using the selfbuff command will work
i tried this $client->RemoveFromTargets($npc); bu it does not work.. any thoughts? |
I think it depends on exactly what you are trying to do. But, if you just want a player to cast a buff on themselves, this command should work:
Code:
quest::selfcast(spellid); I haven't tested this, but if you want to change a target, maybe something like this would work: Code:
my $cname = $client->GetCleanName(); |
when you buff with selfcast and your a war for say it don't always group buff your group because your targeting the npc not yourself or a group member.
so im trying to get the npc to make you cast the spells but make you target yourself or clear your target. and that did not work just stopped at that pint and no buffs fired off. |
sorry that did work thanks.
|
All times are GMT -4. The time now is 04:12 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.