|
BloodRose Valencia
Registered User
Join date: 1 Sep 2006
Posts: 4
|
01-02-2007 18:08
Im trying to make a new weapon system, and I'm trying to figure out how to locate a hostile avatar (defined by a seperate notecard) and shoot him with my missile. I've already figured out most of it, but i still cant find a way to get the avatars position and get the missile to go there. Can anyone help?
|
|
Winter Ventura
Eclectic Randomness
Join date: 18 Jul 2006
Posts: 2,579
|
01-02-2007 21:35
Sensor maybe?
_____________________
 ● Inworld Store: http://slurl.eclectic-randomness.com ● Website: http://www.eclectic-randomness.com ● Twitter: @WinterVentura
|
|
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
|
01-03-2007 04:59
As Winter stated a sensor, but that is limited to 96m.
I also query why you would use a notecard to define your target, seems rather longwinded to me.
|
|
BloodRose Valencia
Registered User
Join date: 1 Sep 2006
Posts: 4
|
01-03-2007 15:41
I'm using a notecard so as to allow others to add people to the list when they buy it. This is to ensure that they can defend against those that they want to, and not their freinds.
|
|
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
|
01-04-2007 00:10
Ah more of a fixed emplacement /auto weapon rather than a hands on type thing?
|
|
BloodRose Valencia
Registered User
Join date: 1 Sep 2006
Posts: 4
|
01-04-2007 14:19
RIGHT! Its more of a home defense type of thing, and im making anti-physics rounds for it. So itll generally be an all around defense weapon.
Any other ideas? If not, could you explain how to use the sensor? Im not new at scripting, but not so great at it either =)
|
|
2fast4u Nabob
SL-ice.net
Join date: 28 Dec 2005
Posts: 542
|
01-04-2007 15:36
Here is a link to the ExampleProximityDoor script... http://www.lslwiki.com/lslwiki/wakka.php?wakka=ExampleProximityDoorThe script is a good example of starting and stopping a sensor and using the llDetected* functions (llDetectedName in this case) to determine what was found. -2fast
|