[Opensim-dev] script errors?
Stefan Andersson
stefan at tribalmedia.se
Tue Oct 30 05:31:09 UTC 2007
I think you have to substitute <-5,-5,0> with new LLVector3( -5, -5, 0 ) as the compiler don't support constant vectors (yet)
/Stefan
Date: Mon, 29 Oct 2007 17:21:55 -0700From: mic.bowman at intel.comTo: opensim-dev at lists.berlios.deSubject: [Opensim-dev] script errors?
i'm fairly sure that i'm doing something stupid, but for the life of me i can't figure out what... i'm trying to compile the following script (i've also tried to copy out the C# version that gets compiled with similar results)...
default{ touch_start(integer i) { llSay(0,"Moving"); llSetPos(llGetPos() + <-5,-5,0>); }}
Linux client. OpenSim running off the trunk version as of today (2204 i believe). script created with "new script" from the inventory. on save (not attached to an object) the console window on the client records a "compile error" message (no chat message). on the console of the opensim server (running standalone) there is a message about "error displaying error in world: ...null reference exception in chatmodule.cs line 122".
so.. why the compiler error (first) and why the chat null ref?
--mic
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-dev/attachments/20071030/775ba81f/attachment-0001.html>
More information about the Opensim-dev
mailing list