Jump to content

Some Scripting help please.


zereth7

Recommended Posts

Below is my current failed code. could anyone tell me what im doing wrong or if it is at all possible to achieve.

the script is placed on a misc item which is then linked to a light.

 

 

ref RSelf
ref LinkedREF

Begin OnRelease
set RSelf to GetSelf
set LinkedREF to GetLinkedRef
LinkedREF.Disable
LinkedREF.MoveTo RSelf
LinkedREF.Enable
end

Begin OnDrop
set RSelf to GetSelf
set LinkedREF to GetLinkedRef
LinkedREF.Disable
LinkedREF.MoveTo RSelf
LinkedREF.Enable
end

Begin OnAdd
set LinkedREF to GetLinkedRef
LinkedREF.Disable
end

 

Edit: Nevermind, found a workaround. Seams the move to doesn't like to work with light.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...