Zepp Zaftig
Unregistered Abuser
Join date: 20 Mar 2005
Posts: 470
|
12-12-2005 17:54
Anyone had any success with teleporting with a nocopy vehicle? I have tried to use llGiveInventory to put the vehicle in an attachment, but llGiveInventory doesn't seem to want to give nocopy items to attachments. I've also tried attaching the object to the avatar on the changed event but it gives a stack-heap collision even though the only thing in the script is the permission request and the things in the changed event. The vehicle does attach when I return to it though. Linking doesn't work either since it doesn't want to link to attachments. Am I missing something, or is this simply not possible?
|
Kage Seraph
I Dig Giant Mecha
Join date: 3 Nov 2004
Posts: 513
|
12-12-2005 19:18
What's the motivation for developing a nocopy vehicle? Seems like a risky proposition with glitchy sim crossings and such?
|
Zepp Zaftig
Unregistered Abuser
Join date: 20 Mar 2005
Posts: 470
|
12-13-2005 02:08
From: Kage Seraph What's the motivation for developing a nocopy vehicle? Seems like a risky proposition with glitchy sim crossings and such? Not the vehicle per se, but nocopy poseballs inside.
|
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
|
12-13-2005 12:40
From: Zepp Zaftig llGiveInventory doesn't seem to want to give nocopy items to attachments. The reason for this is that dumb @$$ scripters who make guns and venders not checking the permissions during setup. Instead of functioning on nocopy assets the functions were broken and forced to give an error message. Removing the functionality of llRezObject and llGiveInventory. llGiveInventory wouldn't work the way you would want in this case even if it wasn't borked, trust me. ReturnToOwner() { llUnsit(llAvatarOnSitTarget()); llSetStatus(STATUS_DIE_AT_EDGE, 0); llSetStatus(STATUS_RETURN_AT_EDGE | STATUS_PHYSICS, 1); llVolumeDetect(1); llSetBuoyancy(-1.0); }
OnRez() {//be sure to call this in the on_rez llVolumeDetect(0); llSetBuoyancy(0.0); llSetStatus(STATUS_PHYSICS, 0); }
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river. - Cyril Connolly
Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence. - James Nachtwey
|
Zepp Zaftig
Unregistered Abuser
Join date: 20 Mar 2005
Posts: 470
|
12-14-2005 02:22
thx Strife that will work. I still have to manually rerez though but I guess there's no way around that.
|