Event system Questions?

Discussion of Inner Space

Moderators: Lavish Software Team, Moderators

Post Reply
oddx
Non-Subscriber
Posts: 20
Joined: Thu Dec 30, 2004 6:02 pm

Event system Questions?

Post by oddx » Fri Aug 25, 2006 9:36 am

I see in the wiki how to use events but I don't see any pre-made events such as "On Activate" that I see referenced in the release notes and on this forum. Are there still default IS Events and is there a listing some where of them?

Lax
Owner
Posts: 6634
Joined: Fri Jun 18, 2004 6:08 pm

Post by Lax » Fri Aug 25, 2006 10:28 am

Well, the 3 built into IS sessions are On Activate, On Deactivate and On Window Position. The IS kernel has OnButtonDown, OnButtonUp, OnButtonMove, OnAxisMove, OnDPadMove. LavishScript has Alias Added, Alias Removed, Command Added, Command Removed, Object Type Added, Object Type Removed, Top-Level Object Added, Top-Level Object Removed.

There isn't a built-in way to list them all atm, but I will fix that. Most of the events (the ones other than the first 3) use parameters as well. I will have to make sure all the events get documented properly.

oddx
Non-Subscriber
Posts: 20
Joined: Thu Dec 30, 2004 6:02 pm

Post by oddx » Fri Aug 25, 2006 10:52 am

Could I get an example of how to use the On Activate one? Trying to work out a new pip script and this is my hangup atm.

Post Reply