View Single Post
  #6  
Old 09-03-2012, 03:10 AM
ffcmike ffcmike is offline
Banned
Join Date: Jul 2004
Location: London
Posts: 2,029
ffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond repute
Send a message via AIM to ffcmike Send a message via MSN to ffcmike
Quote:
Originally Posted by scriptless View Post
i would need to trigger it at the origonal position i placed it?
Yes. Then send the new X and Y positions as a parameter.

PHP Code:
function onActionServerSide(temp.xtemp.y){
  
this.temp.x;
  
this.temp.y;
}

//#CLIENTSIDE
function updatePosition(){
  
triggeraction(this.origx 0.5this.origy 0.5"Serverside"mousexmousey);

Reply With Quote