Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

need help with targeting

Mareek Baron
Registered User
Join date: 21 Dec 2004
Posts: 1
03-24-2006 14:36
Im trying to make a Sword that does a sliding enegy effect to a targeted person how can I do this? I need a script that shows you what techs(spells) you have on the sword that's on its own channel when it displays for example SteelSaber:Attacks/Techs Availible: Attack1, Attack2, TSlash and I need to know what kinda particles I can make to come out of the sword to the targeted person. If anyone knows how to do something like this please give me some starting tips if you can and I will be grateful.
Feynt Mistral
Registered User
Join date: 24 Sep 2005
Posts: 551
03-24-2006 17:26
llSensor("Person's Name", NULL_KEY, AGENT, yada yada yada...)

Your sensor will only detect the specified avatar with the given name, from there you can get the person's key, and from there you can make particles go towards the person unerringly.
_____________________
I dream of a better tomorrow in SL!
You should too. Visit, vote, voice opinions.
Support CSG! Tell LL how much it would mean to subtract one prim from another!
Prim Animation! Stop by and say something about it, show your support!