Page 1 of 1

${Target.Casting.ID} ?

Posted: Wed May 19, 2004 9:54 pm
by signal0
I know this data is sent to the client, but the variable returns NULL unless I have myself targeted. Does anyone else have any experience with this?

Thanks.

Posted: Thu May 20, 2004 12:17 am
by Mister Peepers
My guess is if its returning null for ${Target} but returns somthing when you use ${Me}. The member might just be out of place, and instead of in the spawn section it should be in the Character section.

Posted: Thu May 20, 2004 5:42 am
by signal0
Well, that would make sense if I didn't know for a fact that the current spell-being-cast info is sent to the client for all objects in the game. Can a dev maybe shed some light on this?

Thanks.

Posted: Thu May 20, 2004 6:50 am
by wassup
I don't think you can get any info of what spell some other npc/pc is casting unless you have the leadership ability.

Posted: Thu May 20, 2004 7:51 am
by Oid
What spell is being cast is sent to the client, just not said, dont know why targetcastingid wouldnt work, bleh....

Posted: Thu May 20, 2004 1:16 pm
by Rusty~
yeah i noticed that too when i tried adding ${Target.Casting.Name} to my UI target bar.. would only work with me on target too :?

Posted: Thu May 20, 2004 8:40 pm
by dont_know_at_all
Casting returns GetSpellByID(pSpawn->pActorInfo->CastingSpellID)

In this case, pSpawn is your target. It seems like it should work...

Posted: Fri May 21, 2004 12:33 pm
by signal0
Should? Yes. Does? No. :)

This is the last bit of info that I keep showeq around for; it would be nice to liberate my laptop. :)

Posted: Fri May 21, 2004 2:35 pm
by Lax
Well, I tested it when I put it in originally and couldnt get it to work, so obviously EQ doesnt update that part in particular. We can get it through other methods though ;)

Posted: Fri May 21, 2004 3:10 pm
by signal0
Thanks, Lax. I look forward to you working your magic in the near future. 8)