Galena Qi
Registered User
Join date: 9 Sep 2006
Posts: 249
|
08-26-2007 11:12
Can the Zhao (either I or II) be turned on/off via a script call? I'm trying to script an animation that won't work if my AO is on. Apparently the /AO off command from the original Franimation AO is not used in Zhao. What channel would I use, and will it break anything in the AO script to do this?
|
Ziggy Puff
Registered User
Join date: 15 Jul 2005
Posts: 1,143
|
08-27-2007 08:19
ZHAO II can be controlled via link messages, both on/of as well as the other functions. So the script would have to be in the same object that has the ZHAO script (doesn't have to be a HUD). It doesn't use listeners for commands. I didn't put any details about the link message interface in the documentation, but if you pick up a copy, it's described in the script header comments. Take a look, and feel free to IM me if you need any help with it. If you need to control the ZHAO from a different object, you'll have to add the listener back, and add the code to handle the ao on/off and whatever other messages you want. At this point, it'll pretty much be a Franimation script, so you could just as well use that instead 
|