Malkalypse
05-05-2009, 06:51 PM
EDIT: Never mind, I got it. Looked through the other threads again and saw there was one where the solution involved removing [#Expose] from the script. Tried that and it worked.
----
OLD:
I've looked at a couple related threads, but still can't figure out what I'm doing wrong.
My goal here is to create a rollout with a button for wiring an object's position to an exposeTM's "local position" value (from its exposed node). What I am using is this (taken from exactly what is shown in the listener when I do this manually):
on wirePos picked tgt do
(
if tgt != undefined do
(
paramWire.connect tgt.baseObject[#Expose][#Local_Position] $.transform.controller[#Position] "Local_Position"
)
)
The error I get is: 'No ""get"" function for undefined'
----
OLD:
I've looked at a couple related threads, but still can't figure out what I'm doing wrong.
My goal here is to create a rollout with a button for wiring an object's position to an exposeTM's "local position" value (from its exposed node). What I am using is this (taken from exactly what is shown in the listener when I do this manually):
on wirePos picked tgt do
(
if tgt != undefined do
(
paramWire.connect tgt.baseObject[#Expose][#Local_Position] $.transform.controller[#Position] "Local_Position"
)
)
The error I get is: 'No ""get"" function for undefined'
