Textport \ Expression Field, result of the same expression

   2321   0   0
User Avatar
Member
325 posts
Joined: 7月 2005
Offline
Hi there,

I've got the following problem - the same expression, entered in textport and in an expression field returns different result, here's the sample code, illustrating the issue:

dopobjectlist(“/obj/dopnet1”, dopoptions(“/obj/dopnet1”, “Obj8”,“Position”,“glueobject”), 0)
(it is supposed to return the ID of an object that is located in /obj/dopnet1/Obj8/Position/glueobject - ball1 in this case, (id) 38 )


Entered in the textport, analogous

echo `dopobjectlist(“/obj/dopnet1”, dopoptions(“/obj/dopnet1”, “Obj8”,“Position”,“glueobject”), 0)` returns 38, as expected- while the Expression field always returns 0. What is the reason of that?

Thanks.

P.S. I am trying to input this in Modify Data DOP node, float field.
I liked the Mustang
  • Quick Links