View Single Post
  #4  
Old 07-28-2001, 05:17 AM
LiquidIce00 LiquidIce00 is offline
RadioActive Monkeeh
LiquidIce00's Avatar
Join Date: Apr 2001
Location: dirty south
Posts: 2,112
LiquidIce00 is on a distinguished road
Send a message via ICQ to LiquidIce00 Send a message via AIM to LiquidIce00 Send a message via Yahoo to LiquidIce00
Quote:
Originally posted by Brady2
Jadis:
NPC Code:


if (playerenters||timeout) {
timeout = .05;
this.radius = 10;
this.angle+=.314;
this.x = x+sin(this.angle)*this.radius;
this.y = y+cos(this.angle)*this.radius;
showimg 0,@Arial@@hi friend,this.x,this.y;
}

I suggest you reset the angle every circle it does , else in minutes it will be a HUGEEEEEEEEEEEEEE variable.

and forgot here is the code
NPC Code:

if (playerenters||timeout) {
timeout = .05;
this.radius = 10;
this.angle+=.314;
if (this.angle>6.28) { this.angle=.314; }
this.x = x+sin(this.angle)*this.radius;
this.y = y+cos(this.angle)*this.radius;
showimg 0,@Arial@@hi friend,this.x,this.y;
}

__________________
LiquidIce *Owner* (UnholyNation)
-UN Website
http://www.unholynation.com
-UN Forum
http://forums.unholynation.com
-
-the thinker
-

-
onwall2 for nonp2p (i suck at onwall)
Reply With Quote