RigidChips
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Lun Pre Set Varables

3 posters

Go down

Lun Pre Set Varables Empty Lun Pre Set Varables

Post by Doc Wed Dec 29, 2010 12:59 pm

I need to know ho you get the X, Y, Z, rotation of the Base chip. I'm makin a UFO! Very Happy

(if you could list all the other ones to like, Altitude, X position, Z position, FPS, Weight, etc)
Doc
Doc
Car
Car

Posts : 23
Join date : 2010-10-10
Location : On the edge of nowhere

Back to top Go down

Lun Pre Set Varables Empty Re: Lun Pre Set Varables

Post by RA2lover Wed Dec 29, 2010 3:19 pm

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"?
RA2lover
RA2lover
Walker
Walker

Posts : 382
Join date : 2010-10-11
Age : 29
Location : Brazil

Back to top Go down

Lun Pre Set Varables Empty Re: Lun Pre Set Varables

Post by JHaskly Thu Dec 30, 2010 8:10 am

Altitude is _Y(). Height above ground is _H().

JHaskly
Admin

Posts : 235
Join date : 2010-07-16
Age : 28
Location : Brisbane

Back to top Go down

Lun Pre Set Varables Empty Re: Lun Pre Set Varables

Post by Doc Thu Dec 30, 2010 10:17 am

ohh umm... it sounds like "Luna" to me opps.. if an admin can change that.. thanks lol
Doc
Doc
Car
Car

Posts : 23
Join date : 2010-10-10
Location : On the edge of nowhere

Back to top Go down

Lun Pre Set Varables Empty Re: Lun Pre Set Varables

Post by JHaskly Thu Dec 30, 2010 2:27 pm

You have the permissions to change yourpost title, I think.

JHaskly
Admin

Posts : 235
Join date : 2010-07-16
Age : 28
Location : Brisbane

Back to top Go down

Lun Pre Set Varables Empty Re: Lun Pre Set Varables

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum