on beginsprite me
mysprite=sprite(me.spritenum)
bgsprite=sprite(who)
myloch=mysprite.loch
mylocv=mysprite.locv
bgloch=bgsprite.loch
bglocv=bgsprite.locv
end
on exitframe me
set the loch of mysprite to the loch of bgsprite+(myloch-bgloch)
set the locv of mysprite to the locv of bgsprite+(mylocv-bglocv)
end
on getPropertyDescriptionList me
set props= [:]
props.addProp(#who, [#format: #integer, #default: 50, #comment: "whichsprite"])
return props
end
Contact
MMI
36 South Court Sq
Suite 300
Newnan, GA 30263
USA