HomefieldOfView | SPi-V dev

Navigation

user

NOT A BUG:leave event still working?

I've been trying to use the leave event to set some buttons/behaviors visibility/fuctionality off:

( action event="leave" type="setProperty" target="switch-*" property="enabled" value="false" )
( action event="leave" type="setProperty" target="switch-*" property="visible" value="false" )

But They aren't called... Suggestions? or bug? Using: v1.3.12 on OSX 10.4.9.

Ps. yes these "setProperty" calls work perfectly otherwise.
Now I've got to call them when loading every single scene (enter event).

Re: leave event still working?

Are the corresponding "enter" events firing?
ie, if you change the event to "enter", does the setProperty happen?
Do you have the behavior attached to the global node or scene nodes?

Any chance of posting a repro tour?

Re: leave event still working?

Yes, everything works as expected. global, but within an referenced uigroup.

Example? hmmm, then I've got to write a new one...
I've put everything (more or less) in their own file, for easy editing...

Re: leave event still working?

It's supposed to be 'exit' instead of 'leave'. I have corrected the documentation.