Dahlia Genira
Registered User
Join date: 29 May 2009
Posts: 8
|
07-20-2009 18:11
Maybe this just cant be done, but is it possible to get a vector from the object description?
example: vector offset = llGetObjectDesc(); llRezAtRoot(message, llGetPos() + offset, ZERO_VECTOR, ZERO_ROTATION, 0);
figured that if it can be done from a nc it can be done from a desc. Or maybe I am just doing it wrong, lol wouldn't be the first time!
|
Dahlia Genira
Registered User
Join date: 29 May 2009
Posts: 8
|
07-20-2009 18:20
got it, lol forgot a (vector) before the llGetObjectDesc
|
Ruthven Willenov
Darkness in your light
Join date: 16 Jan 2008
Posts: 965
|
07-20-2009 18:21
From: Dahlia Genira Maybe this just cant be done, but is it possible to get a vector from the object description?
example: vector offset = llGetObjectDesc(); llRezAtRoot(message, llGetPos() + offset, ZERO_VECTOR, ZERO_ROTATION, 0);
figured that if it can be done from a nc it can be done from a desc. Or maybe I am just doing it wrong, lol wouldn't be the first time! you're on the right track, but you need to type cast it, IE vector offset = (vector)llGetObjectDesc(); llGetObjectDesc returns a string, so you have to change that string to a vector to use it as one http://www.lslwiki.net/lslwiki/wakka.php?wakka=Typecast
|