Hmm, Im going to pick at his cog a little... I hope you dont mind.
You did not need to use link IDs. And since you didnt anywhere in the code, they are rather futile...
No good. This is one of the reasons this cog doesnt work. The sourceref is irrelevent in this. What you need is the localplayer. In other words, "Player = JKgetlocalplayer();", or "Player = Getlocalplayerthing();".
I dont know why you put in that 'Else', but it isnt needed.
The version that DOES work:
Ok, Im done.
BTW, you dont need a cog to set a sector's gravity to 0. In the Sector Properties in JED, click on Flags, and set 'No gravity'.
Bingo, no gravity...
------------------
Success is the inverse relationship between effort, gain, and loss.
And when the moment is right, I'm gonna fly a kite.