Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Would really appreciate a response from the Lindens as to what is going on

Meatwad Extraordinaire
Nomnomnom
Join date: 6 Aug 2004
Posts: 545
12-30-2004 18:27
a robot that follows you and attacks all that come near ehh? sounds good but i HOPE that i can do it... i can do it... i have the technology...
Justin Delvecchio
Builder & Clothing Design
Join date: 16 Jun 2004
Posts: 56
12-30-2004 18:28
From: Meatwad Extraordinaire
a robot that follows you and attacks all that come near ehh? sounds good but i HOPE that i can do it... i can do it... i have the technology...



hehe meat...well, not all that come near...just on commands, ya know...
Meatwad Extraordinaire
Nomnomnom
Join date: 6 Aug 2004
Posts: 545
12-30-2004 18:29
From: Justin Delvecchio
hehe meat...well, not all that come near...just on commands, ya know...


maybe a command that attacks ALL that come near too!
Meatwad Extraordinaire
Nomnomnom
Join date: 6 Aug 2004
Posts: 545
12-30-2004 18:29
ok, lets start working on the script...

ill make it ONE post but edit it... you do the same but dont add, just replace
Justin Delvecchio
Builder & Clothing Design
Join date: 16 Jun 2004
Posts: 56
12-30-2004 18:29
From: Meatwad Extraordinaire
maybe a command that attacks ALL that come near too!


ohhhhhhhhhhhhhhhhhhhhhhhhhhh, yes yes yes! like a ok ok ok ok ok ok , everyone GO AWAY, cant breathe, need space...
but be carefull...could you imagin that in a club????!!!! OMG! abuse reports out the ass...LOL
Meatwad Extraordinaire
Nomnomnom
Join date: 6 Aug 2004
Posts: 545
12-30-2004 18:31
key owner;

default
{
_____on_rez(integer start_param)
_____{
__________llResetScript();
__________owner=llGetOwner();
_____}
}






wait, lemme get wiki out
Justin Delvecchio
Builder & Clothing Design
Join date: 16 Jun 2004
Posts: 56
12-30-2004 18:32
here is the basic pet script

From: Logan Bauer
This script will make an object follow it's owner and face towards it's owner, creating a very basic "pet". It's not much, but I've been itching to contribute SOMETHING since I couldn't get AliceBOT Artificial Intelligence to work.

Make sure that the root prim of the object is facing a rotation of <0,0,0,1>, or <ZERO_ROTATION>, or just edit the object and put 0 in the X,Y, and Z rotations... OR, be prepaired for your pet to always face the wrong way!

CODE


////////////////////////////////////////////////////////////////
// Open Basic Follower/Facing Script, by Logan Bauer. //
////////////////////////////////////////////////////////////////
// OFFSET is the position of your pet in relation to it's owner's position.
// For example, in the default setting below, "vector offset =<-1,0,1>;"
// I.E. (x,y,z), the -1 puts it 1m back behind owner, the 0 means don't have
// it stay left or right, and 1 means have it stay 1m above it's owner.
// So, if you wanted the script to make it follow directly in front of you,
// and to the left, then you would change it to "vector offset =<1,1,0>;"


vector offset =<-1,0,1>;

startup()
{
vector pos = llGetPos();
llSetStatus(STATUS_ROTATE_Z,TRUE);
llSetStatus(STATUS_PHYSICS, TRUE);
key id = llGetOwner();
llSensorRemove();
llSensorRepeat("",llGetOwner(),AGENT,200,2*PI,.5);
}

default
{
state_entry()
{
startup();


}

on_rez(integer start_param)
{
startup();
}

sensor(integer total_number)
{
vector pos = llDetectedPos(0);
llMoveToTarget(pos+offset*llDetectedRot(0),.3);
llLookAt(pos, .1 , 1);
}
}
Meatwad Extraordinaire
Nomnomnom
Join date: 6 Aug 2004
Posts: 545
12-30-2004 18:34
dont worry, i have a simple one, ill add it later, time to check log status

froze again :/

pls remove that huge thingy
WAIT! do u have AIM?
Justin Delvecchio
Builder & Clothing Design
Join date: 16 Jun 2004
Posts: 56
12-30-2004 18:35
ive just been "connecting" while bouncing back and forth to here
Meatwad Extraordinaire
Nomnomnom
Join date: 6 Aug 2004
Posts: 545
12-30-2004 18:36
if u have AIM, pls tell me the screenname
Justin Delvecchio
Builder & Clothing Design
Join date: 16 Jun 2004
Posts: 56
12-30-2004 18:37
pavemylow

just logged onto aim
Stacy Maracas
Stacy Maracas
Join date: 1 Oct 2004
Posts: 69
Justin!!!!!!!
12-30-2004 19:28
BABY I NEED YOUU< I MISS YOU!!!!!
:-( cries :(
Devlin Gallant
Thought Police
Join date: 18 Jun 2003
Posts: 5,948
12-31-2004 08:40
From: Martin Magpie
Noon was over 3 hours ago.


SL times are always in PST.
_____________________
I LIKE children, I've just never been able to finish a whole one.
Alan Edison
Ty Zvezda
Join date: 28 Jun 2004
Posts: 420
12-31-2004 09:39
From: Devlin Gallant
SL times are always in PST.


i nkow its all back up now, but just to clafify my post... i was quoting wot LL said and in the post it said 'edit: itll not be up until 3pm'.

bleh :rolleyes:
_____________________
Ty Zvezda
1 2 3 4 5 6