in the bottom of that post there is this
#MouseMove
#RageTheSage 08/04/2004
import GameLogic
import Rasterizer
width = float(Rasterizer.getWindowWidth())
height = float(Rasterizer.getWindowHeight())
aspecty= height/55
aspectx=width/60
c=GameLogic.getCurrentController()
senGrabbed = c.getSensor("grabbed")
senClick = c.getSensor("click")
senMove = c.getSensor("move")
senOver = c.getSensor("over")
actCon = c.getActuator("con")
owner= c.getOwner()
owner.mousex = (senMove.getXPosition()-width/2)/aspectx
owner.mousey = -(senMove.getYPosition()-height/2)/aspecty
if senOver.isPositive():
if senClick.isPositive():
GameLogic.addActiveActuator(actCon,1)
owner.grab = 50
else:
owner.grab = 0
GameLogic.addActiveActuator(actCon,0)
if senGrabbed.isPositive():
owner.setPosition([owner.mousex,owner.mousey,5])
if c.getSensor("RMB").isPositive(): <<<<<<HERE <<<<<<<
owner.setPosition([owner.XPosition(),owner.YPosition(),owner.mousey]) <<<<<< HERE <<<<
how can I use that on the object ? And how is the first downloand file calling up the python script at all ? it does not look like it is linked to anything