Rita Larimore
Registered User
Join date: 24 Jun 2009
Posts: 2
|
10-16-2009 09:17
I wonder why there is no matching getter for the llSetVehicleType. I need a way to determine if the object detected by my sensor is a vehicle and at the moment it seems there is no way to do it. Any ideas how to do it? I would really appreciate some practical advice here because it seriously affects the project I'm doing now. Thank you Rita
|
Prismatic Schism
Registered User
Join date: 14 Jan 2009
Posts: 7
|
10-17-2009 10:28
if you're trying to detect a vehicle that you made, you can include a call in the vehicle on a specific channel that the detector will listen for.
|
Lear Cale
wordy bugger
Join date: 22 Aug 2007
Posts: 3,569
|
10-17-2009 14:38
Even if there were "llGetVehicleType()", it would only work on the object it's in, just as llSetVehicleType() does.
If it's not an object property you can get using llGetObjectDetails(), then you can't get it from another object unless you've scripted that object to respond to chat queries (using llSay() and a listen event handler).
|
Rita Larimore
Registered User
Join date: 24 Jun 2009
Posts: 2
|
10-19-2009 07:23
Well, if I'd made this vehicle it would not be a problem. The idea is to detect any vehicle. But apparently it's impossible.
|
Lear Cale
wordy bugger
Join date: 22 Aug 2007
Posts: 3,569
|
10-19-2009 11:07
There may be sneaky ways you can detect possible vehicles.
You can detect physical, though some vehicles aren't physical.
I don't know whether you can detect whether someone's sitting on an object, but if you can, and if the object is physical, that's a good candidate for a vehicle.
|