Discussion of Inner Space
Moderators: Lavish Software Team, Moderators
-
iluvseq
- Non-Subscriber
- Posts: 25
- Joined: Sat Dec 18, 2004 8:15 pm
Post
by iluvseq » Sat Oct 31, 2009 1:02 am
I'd like to trigger a function when a service fires, but there is no documentation on interfacing services with LavishScript.
Basically I am using ISXEQ which provides an EQ Zone Service, which can be used to detect BEGINZONE, ENDZONE, and ZONED. I want to access this from LavishScript. I know that via C++ I can connect functions to services and they'll fire appropriately, but I want to have access to the service from a LavishScript.
How would I go about doing this?
Thank you!
-
Lax
- Owner
- Posts: 6634
- Joined: Fri Jun 18, 2004 6:08 pm
Post
by Lax » Sat Oct 31, 2009 9:26 am
You would need to modify ISXEQ to also fire a trigger (with EzTrigger -- there are numerous examples in ISXEQ). Services are restricted to use by extensions
-
iluvseq
- Non-Subscriber
- Posts: 25
- Joined: Sat Dec 18, 2004 8:15 pm
Post
by iluvseq » Sun Nov 01, 2009 1:26 pm
Thanks, I was able to add a Zone event (maybe that's the same as a trigger, not sure) and attach to that in my LavishScripts. Works like a charm

-
Lax
- Owner
- Posts: 6634
- Joined: Fri Jun 18, 2004 6:08 pm
Post
by Lax » Sun Nov 01, 2009 1:42 pm
Events are better than triggers, I should have suggested that I suppose
