Code center > Suggestions

refdxpos, refuppos, refsxpos, refdnpos

(1/3) > >>

abyaly:
I was looking through the wiki and though I found refvars for x pos and y pos, I was surprised these werent in there. Since there are no trig functions either, I can't find a way to make bots calculate them accurately.  

Numsgil:
there is refxpos, is that what you're looking for?

It is possible to emulate sin and cos using numerical approximations.  I did that way back in the day before there was refvel*.

abyaly:
refxpos gives the x coordinate

Numsgil:
Yes, and refypos gives the y coordinate.

Is that what you're looking for?

abyaly:
no. I was looking for the vars in the topic. they dont exist. so I didnt find them

Navigation

[0] Message Index

[#] Next page

Go to full version