|
Ter Watanabe
Registered User
Join date: 10 Jul 2007
Posts: 3
|
10-07-2007 14:19
I am trying to get a vehicle to level when the avatar leaves mouselook. I am not sure, however, how to detect when the avatar operating the vehicle has left mouselook. I know that it has to do with llGetAgentInfo, but I am not sure how to set this up so that it is constantly monitoring whether or not the agent has left mouselook.
Thank you, Ter
|
|
Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
|
10-07-2007 14:31
You would have to get the key of the driver and use it in a timer event with:
if (llGetAgentInfo(driver_key) & AGENT_MOUSELOOK)
_____________________
I (who is a she not a he) reserve the right to exercise selective comprehension of the OP's question at anytime. From: someone I am still around, just no longer here. See you across the aisle. Hope LL burns in hell for archiving this forum
|
|
Ter Watanabe
Registered User
Join date: 10 Jul 2007
Posts: 3
|
Mouselook
10-08-2007 15:22
From: Jesse Barnett You would have to get the key of the driver and use it in a timer event with:
if (llGetAgentInfo(driver_key) & AGENT_MOUSELOOK) Thank you, Jesse... that did work.
|