Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Detect State of AO

Selene11 Nightfire
Registered User
Join date: 18 Mar 2008
Posts: 1
11-06-2008 15:53
I want to combine my ZHAO 2 HUD with a "smile script" so that I do not need a seperate attachment for smiling, but need a way to disable the smile effect when the AO is toggled off on the HUD.. Does anyone have any ideas on how I can do this, or a viable alternative.

Thanks
Viktoria Dovgal
Join date: 29 Jul 2007
Posts: 3,593
11-06-2008 16:02
Take a look in the ZHAO interface script. It sends a link message with the string "ZHAO_AOON" or "ZHAO_AOOFF" to switch the state in the core script, you could just use that same message to switch your smiley thing.
Ruthven Willenov
Darkness in your light
Join date: 16 Jan 2008
Posts: 965
11-06-2008 16:14
actually, in the zhao2 notecard, it says that if you seperate the anim names with a comma instead of the | (what is that called anyways?) it will layer the animations. the sl built in animations will work, even though it'll give you a warning when loading the notecard saying that it's not in the inventory
_____________________
Dark Heart Emporium

http://www.xstreetsl.com/modules.php?name=Marketplace&MerchantID=133020

want more layers for tattoos, specifically for the head? vote here
http://jira.secondlife.com/browse/VWR-1449?

llDetectedCollision* Functions similar to touch
http://jira.secondlife.com/browse/SVC-3369
Viktoria Dovgal
Join date: 29 Jul 2007
Posts: 3,593
11-06-2008 16:35
You can do that, but it limits you to one 2-second expression for each animation change, just the nature of the beast. Especially with static poses, the timing of those smiles can look a little like gas pains.
Ruthven Willenov
Darkness in your light
Join date: 16 Jan 2008
Posts: 965
11-06-2008 16:39
lol, yeah, that's true
_____________________
Dark Heart Emporium

http://www.xstreetsl.com/modules.php?name=Marketplace&MerchantID=133020

want more layers for tattoos, specifically for the head? vote here
http://jira.secondlife.com/browse/VWR-1449?

llDetectedCollision* Functions similar to touch
http://jira.secondlife.com/browse/SVC-3369
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
11-07-2008 05:36
| = pipe
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -