Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Falling on land when over trees - how to prevent?
#13
(03-18-2016, 07:38 AM)melex750 Wrote:
Code:
int Graviplant = 715;
    
object obj = radar(Graviplant);
    
if (distance2d(this.position, obj.position) <= 32)
{
    message("very close to graviplant");
}

I'm not sure that I uderstand this code quite clear. I tried to change meaning of int Graviplant. It works only within 710-715. Why is that?


Messages In This Thread
RE: Falling on land when over trees - how to prevent? - by Rinoldo - 03-18-2016, 09:39 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)