Jesrad Seraph
Nonsense
Join date: 11 Dec 2004
Posts: 1,463
|
03-21-2005 01:16
I have a script that is supposed to rez a set of three objects. This script was working fine yesterday. Today it only rezzes the last object of the set. I only changed the position at which the objects are rezzed !
I then changed from passing the whole vector calculation from inside the llRezObject() to a vector variable, and it did not help any bit. So I changed it again to MOVE to the position, call llRezObject() with an llGetPos() for position parameter, and now it rezzes two objects out of the three correctly.
There is no error message, the land is buildable (obviously). I have tried making a new rezzer from scratch and copying-pasting the contents of the script in a new script, it does not help.
So my question is: WTH is going on ? For the sake of my sanity please help !
_____________________
Either Man can enjoy universal freedom, or Man cannot. If it is possible then everyone can act freely if they don't stop anyone else from doing same. If it is not possible, then conflict will arise anyway so punch those that try to stop you. In conclusion the only strategy that wins in all cases is that of doing what you want against all adversity, as long as you respect that right in others.
|
Jeffrey Gomez
Cubed™
Join date: 11 Jun 2004
Posts: 3,522
|
03-21-2005 01:28
llRezObject can only rez objects within about 10m of the rezzer.
_____________________
---
|
Eloise Pasteur
Curious Individual
Join date: 14 Jul 2004
Posts: 1,952
|
03-21-2005 01:49
If you're not exceeding the 10m limit try recompiling the script. I had some with scripted attachments yesterday, but a quick recomplile fixed it all.
|
Jesrad Seraph
Nonsense
Join date: 11 Dec 2004
Posts: 1,463
|
03-21-2005 01:55
I know that, it is mentioned in the Wiki  Well, Mick Linden helped me find the problem, apparently operator precedence isn't enforced correctly in some cases...
_____________________
Either Man can enjoy universal freedom, or Man cannot. If it is possible then everyone can act freely if they don't stop anyone else from doing same. If it is not possible, then conflict will arise anyway so punch those that try to stop you. In conclusion the only strategy that wins in all cases is that of doing what you want against all adversity, as long as you respect that right in others.
|
Francis Chung
This sentence no verb.
Join date: 22 Sep 2003
Posts: 918
|
03-21-2005 07:54
From: Jesrad Seraph I know that, it is mentioned in the Wiki  Well, Mick Linden helped me find the problem, apparently operator precedence isn't enforced correctly in some cases... Could you please share which cases?
_____________________
-- ~If you lived here, you would be home by now~
|
Tiger Crossing
The Prim Maker
Join date: 18 Aug 2003
Posts: 1,560
|
03-21-2005 14:35
Parentheses are our friends...
_____________________
~ Tiger Crossing ~ (Nonsanity)
|
Talena Wallaby
Registered User
Join date: 20 Mar 2005
Posts: 19
|
03-21-2005 18:15
From: Jesrad Seraph I know that, it is mentioned in the Wiki  Well, Mick Linden helped me find the problem, apparently operator precedence isn't enforced correctly in some cases... I noticed that last night. Spent at least an hour struggling through some formulas which should work, but weren't (they'd been working for almost 70 years, no reason to think they'd break now). Finally I used and abused parentheses and it functioned properly. Need to do some testing, but I was getting the impression that operator precedence is left to right and that's it besides parentheses.
|