Notifications
Clear all

[Closed] string problem

hi i had problem in making string
while making string i had problems like the whole thing i wanna in single string but “x i wanna as it is

paramWire.connect2way $Sphere01.modifiers[#Morpher][#1__Sphere02___No_Target] $Circle01.pos.controller[#X_Position] “x = $Sphere01.modifiers[#Morpher].Spinner_Minimum
y = $Sphere01.modifiers[#Morpher].Spinner_Maximum
if X_Position >= 50 then y
else if X_Position <= -50 then x
else if X_Position < 50 or X_Position >= 0 then
X_Position * (y / 50)
else if X_Position <0 or X_Position > -50 then
X_Position * (x / 50)” “
x = $Sphere01.modifiers[#Morpher].Spinner_Minimum
y = $Sphere01.modifiers[#Morpher].Spinner_Maximum
a = 1__Sphere02___No_Target
a *(50 / y)

Iam putting this thing like
substr+=“paramWire.connect2way $Sphere01.modifiers[#Morpher][#1__Sphere02___No_Target] $Circle01.pos.controller[#X_Position]”
substr+= “x = $Sphere01.modifiers[#Morpher].Spinner_Minimum
y = $Sphere01.modifiers[#Morpher].Spinner_Maximum
if X_Position >= 50 then y
else if X_Position <= -50 then x
else if X_Position < 50 or X_Position >= 0 then
X_Position * (y / 50)
else if X_Position <0 or X_Position > -50 then
X_Position * (x / 50)”

substr+=”x = $Sphere01.modifiers[#Morpher].Spinner_Minimum
y = $Sphere01.modifiers[#Morpher].Spinner_Maximum
a = 1__Sphere02___No_Target
a *(50 / y)
” here i wanna “

but iam not able to get the string back as orignal given while executing

akesh