Thread: Vibration(ish)
View Single Post
  #7  
Old 05-24-2007, 07:21 PM
xAndrewx xAndrewx is offline
Registered User
xAndrewx's Avatar
Join Date: Sep 2004
Posts: 5,260
xAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud of
I made something cool on versus, I'll wip it back up for you.

HTML Code:
//#CLIENTSIDE
function onWeaponFired()
{
  this.weaponMode = !this.weaponMode;
  if (this.weaponMode)
  {
    setTimer(0.05);
  }
}
function onTimeout()
{
  if (this.weaponMode)
  {
    temp.currentAngle = (timevar2 * 5) % (2 * pi);
    tilelayers[0].x = player.x + (cos(temp.currentAngle) * 5);
    tilelayers[0].y = player.x + (cos(temp.currentAngle) * 5);

    setTimer(0.05);
  }
}
Didn't try it, should work though...
__________________
Reply With Quote