Jump to content

Check Vehicle params


Samarack
 Share

You are about to reply to a thread that has been inactive for 776 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

Is there a way to know how some parameter values are set?

For example ....  I can set a parameter like this:

llSetVehicleFloatParam( VEHICLE_ANGULAR_FRICTION_TIMESCALE, 10 );

 

But how can I know in a script the actual value ?

 

Link to comment
Share on other sites

While it doesn't seem to be documented behaviour, you can use llGetPrimitiveParams to return some info by calling the following:

llGetPrimitiveParams([VEHICLE_ANGULAR_FRICTION_TIMESCALE,0]);

Unfortunately I don't know exactly what the values returned mean (I'm not familiar with the function you're working with), but hopefully you'll be able to make some sense of it.

Link to comment
Share on other sites

1 hour ago, Jenna Huntsman said:
llGetPrimitiveParams([VEHICLE_ANGULAR_FRICTION_TIMESCALE,0]);

VEHICLE_ANGULAR_FRICTION_TIMESCALE is just a fancy equivalent of the integer 17. PRIM_TEXTURE also happens to be 17, so that code is actually just an obfuscated way for checking the texture on face 0.

Edited by Quistess Alpha
  • Thanks 1
Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 776 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...