Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Scripts for shooting "Enemy" Prims...

Fade Chuwes
Is this Sparta?
Join date: 16 May 2008
Posts: 36
08-29-2008 17:09
... Yeah, basically, to go along with a weird avatar collection I started.
Basically, fighting cartoon Animal Nations.

I'm still fairly.... New, to scripting, so I'm not sure if I have the abilities yet to even comprehend how to do this.

What I need, is tips/scripts that will allow Object A (Cat Soldier) to identify Object B (Dog Soldier) and "fire" rezzed bullets at it's identified target until it's health depletes to zero.

In other words, if any Dog Soldiers are rezzed along with Cat Soldiers rezzed, they will both identify and fire at each other until one of them dies.

I know, this probably sounds like an odd request, so if I don't make much sense in my request feel free to notify me.

P.S: I already have prim-force affected Health scripts, so I don't need anything regarding health unless it is needed for the target-and-fire.
Dekka Raymaker
thinking very hard
Join date: 4 Feb 2007
Posts: 3,898
08-29-2008 19:45
This isn't odd at all, there are freebie Daleks in world that do just that, place one of each Dalek in world and they search for each and then start firing until one is dead.
_____________________