I'm trying to update Scott C.'s ShareVision script from the legacy dynamic lighting to updated dynamic lighting, the main issue is though, I've only slightly used Java script and i have never used it to make API Scripts, so i really don't know what i'm doing. this is the code for the script , and I'm not necessarily looking for someone to update it for me, just wanting to get a bit of a walkthrough as I would like to start scripting myself a bit.