Page 1 of 1

[added: 88] Power of indi_xxx

PostPosted: January 18th, 2008, 6:01 am
by UnseenRage
Cliff, have you consider the request for an indicator to be able to start, stop, or manipulate an animation?

Re: Power of indi_xxx

PostPosted: January 18th, 2008, 7:34 am
by Cliff Cawley
UnseenRage Wrote:Cliff, have you consider the request for an indicator to be able to start, stop, or manipulate an animation?


I'm assuming you mean that if you use keywords to trigger an animation, that they would get triggered when the indicator is active? Then you might not be able to trigger them when its de-active. How do you see this working so that its understandable?

The following is an example of what you might see, but as you can see, there's no way to specify that you want it to action_anim_stop when it hides.

indi_play modify(myanim) action_anim_play

thoughts?

Cliff :)

PostPosted: January 18th, 2008, 8:15 am
by UnseenRage
indi_play modify(myanim) action_anim_play


How about possibly making it at like a toggle instead? Then the indicator has the ability to toggle start and to toggle stop an animination.

Code: Select All Code
indi_play modify(myanim) action_anim_toggle

PostPosted: January 18th, 2008, 8:48 am
by Cliff Cawley
UnseenRage Wrote:
indi_play modify(myanim) action_anim_play


How about possibly making it at like a toggle instead? Then the indicator has the ability to toggle start and to toggle stop an animination.

Code: Select All Code
indi_play modify(myanim) action_anim_toggle


Well, that may control starting/stopping an animation, but you mentioned manipulating it as well? Or did you just mean you wanted to be able to stop/play it?

Cliff :)

PostPosted: January 18th, 2008, 9:08 am
by UnseenRage
Well, that may control starting/stopping an animation, but you mentioned manipulating it as well? Or did you just mean you wanted to be able to stop/play it?

I pretty much just meant start/stop. Better skinners like Slob and Kev-O could do something interesting with manipulating animations on the fly but I would be excited with just start/stop.

PostPosted: January 18th, 2008, 11:01 am
by Cliff Cawley
UnseenRage Wrote:
Well, that may control starting/stopping an animation, but you mentioned manipulating it as well? Or did you just mean you wanted to be able to stop/play it?

I pretty much just meant start/stop. Better skinners like Slob and Kev-O could do something interesting with manipulating animations on the fly but I would be excited with just start/stop.


Out of interest (I'm yet to test this), what happens if you add the indicator keyword to the animation set?

Not each frame, just the layer set that holds the frames?

So for example:
Code: Select All Code
animation animtype(x) indi_play


I'm assuming this will make the animation hide and show itself, does this work?

I realise this isn't what you were after, but it may give me some other ideas.

Cliff :)

PostPosted: January 18th, 2008, 11:16 am
by UnseenRage
So for example:
Code:
animation animtype(x) indi_play


I'm assuming this will make the animation hide and show itself, does this work?

That would work if it would work. :D
I tried that but it didn't work. :? Sorry.

PostPosted: January 27th, 2008, 1:05 pm
by Cliff Cawley
UnseenRage Wrote:
So for example:
Code:
animation animtype(x) indi_play


I'm assuming this will make the animation hide and show itself, does this work?

That would work if it would work. :D
I tried that but it didn't work. :? Sorry.


Indicator manipulation added for build 88 ;)

I just tested making an animation set and setting it to indi_play.

The animation only plays when a song is playing. When its stopped, the animation hides.

I also tested with indi_active. When Xion is the active window the animation now plays, when its not, it hides ;)

Cliff :)