- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello, im new and desparate for a solution 🙂 This is my problem:
Runtime error: Illegal self-referencing in controller script. Can this error be solved?
I have a rectangle named “B6_Tappet_Dummy_Intake” with a Float script inserted on the Y position.
The float scrip has variables: alpha, ctr, F, NT, S, T. The expression is:
alpha = abs (mod alpha 360)
ang1 = 60
ang2 = 300
L = 12.3
r1 = 13.5
r2 = 12.3
if alpha < ang1 or alpha > ang2 then (ctr + L * cos(alpha) + r1)
else
(ctr + r2)
Alpha is assigned to Target:
$B6_DRIVE_DUMMY_INTAKE.rotation.controller. ‘X Rotation’.
Ctr is assigned to Target:
$B6_Cam_Dummy_Intake.pos.controller. ‘Y Position’.
F = frames NT = normalised time S = secs T = ticks If I rotate the object “B6_DRIVE_DUMMY_INTAKE” on the X axis the expression works and moves the object named “B6_Tappet_Dummy_Intake” as per the expression.
I can key frame the object “B6_DRIVE_DUMMY_INTAKE” and it still works. I now have a new dummy in the scene that’s wired to rotate on X axis. If I use Wire Parameters to connect this dummy to the object “B6_DRIVE_DUMMY_INTAKE” it works correctly until I close 3DS Max and re-open it. When I do re-open the project, I get an error: --Runtime error: Illegal self-referencing in controller script. Can this error be solved?
Ive actually tryed contacting Autodesk direct but they could not solve it?
Kind regards
Roger
Solved! Go to Solution.