I have tried one rezz script in which I have to put one script in the object that is gonna be razzed and one script in the cube in which all the objects that I want to razz are in....
but when I try to razz one object.... it doesn't rezz in the coordinates in which I want it to.... instead it just shows up about 5 M above the cube in which I have all the objects that are supposed to be razzed from. What do I need to do to make this work right o_0.
Here are the scripts.....
THIS ONE IS FOR THE OBJECT WHICH I WANT TO BE RAZZED...
===========================================
integer lis;
default
{
on_rez(integer p){
llResetScript();
}
state_entry()
{
lis = llListen(200,"121.08","232.94","450.15"

}
listen(integer chan, string name, key id, string mess){
llListenRemove(lis);
vector pos = (vector)mess;
while(llGetPos() != pos){
llSetPos(pos);
}
}
}
===========================================
THIS ONE IS IN THE CUBE IN WHICH ALL MY OBJECTS ARE PLACED....
default
{
state_entry()
{
llListen(0,"",llGetOwner(),"rez 1"

llListen(0,"",llGetOwner(),"derez"

}
listen(integer channel,string name,key id,string message)
{
if(message=="rez 1"

{
vector pos = llGetPos();
rotation rot = llGetRot();
vector offset = <121.08, 232.94, 450.15>;
offset *= rot;
pos += offset;
llRezObject("City Hall (left)", llGetPos(), ZERO_VECTOR, rot, 1);
llSay(200,(string)pos);
llStopPointAt();
}
if(message=="derez"

{
llSay(15478,"shieldoff"

}
}
}
===========================================