Lun Pre Set Varables
3 posters
RigidChips :: Rigid-Chips :: Tutorials :: Request a Tutorial
Page 1 of 1
Lun Pre Set Varables
I need to know ho you get the X, Y, Z, rotation of the Base chip. I'm makin a UFO!
(if you could list all the other ones to like, Altitude, X position, Z position, FPS, Weight, etc)
(if you could list all the other ones to like, Altitude, X position, Z position, FPS, Weight, etc)
Doc- Car
- Posts : 23
Join date : 2010-10-10
Location : On the edge of nowhere
Re: Lun Pre Set Varables
RCLua has built-in functions for that.
_AX(),_AY() and _AZ()(in radians)
anyway, positions can be accessed by using _X(),_Y() and _Z().(in meters).
the altitude is measured by using _H(), but it only works on objects up to 10m height from ground.
FPS can be measured by _FPS()(but it updates only once per second), and weight can be measured by _WEIGHT()(kilograms).
anyway, how the heck did you manage to misspell lua with a key that far from "a"?
_AX(),_AY() and _AZ()(in radians)
anyway, positions can be accessed by using _X(),_Y() and _Z().(in meters).
the altitude is measured by using _H(), but it only works on objects up to 10m height from ground.
FPS can be measured by _FPS()(but it updates only once per second), and weight can be measured by _WEIGHT()(kilograms).
anyway, how the heck did you manage to misspell lua with a key that far from "a"?
RA2lover- Walker
- Posts : 382
Join date : 2010-10-11
Age : 29
Location : Brazil
Re: Lun Pre Set Varables
Altitude is _Y(). Height above ground is _H().
JHaskly- Admin
- Posts : 235
Join date : 2010-07-16
Age : 28
Location : Brisbane
Re: Lun Pre Set Varables
ohh umm... it sounds like "Luna" to me opps.. if an admin can change that.. thanks lol
Doc- Car
- Posts : 23
Join date : 2010-10-10
Location : On the edge of nowhere
Re: Lun Pre Set Varables
You have the permissions to change yourpost title, I think.
JHaskly- Admin
- Posts : 235
Join date : 2010-07-16
Age : 28
Location : Brisbane
RigidChips :: Rigid-Chips :: Tutorials :: Request a Tutorial
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum