Development Forum |
|
| Peppery One
Papriko
|
3/15/2010 | |
Actually I feel dumb to make up a topic for such a small question, but I still do it:
I am working on my first compound agent. It has a lot of cool buttons that will do a lot (not yet, but later). Now I have a really stupid question: as animation that the CAOS Documentation calls "anim_hover" did I define [0 1 255]. The buttons stop randomly on frame 0 or 1 when I take the hand away again...
How do I define in the code that it always stops at frame 0? [0 1 255 0] did not work.
Lets play plants! Photosynthesis... Photosynthesis... Photosynthesis... |
AquaShee
|
3/15/2010 | |
The buttons do behave oddly. I had a similar issue with the buttons on the BSTL Machine.
Right after creating a button, have it do a simple animation, [1 0] should be enough. After this the buttons should behave properly when you hover over them and go back to pose 0 when you're done hovering.
I'm not sure if it'll work, but it worked for me.
The Community Scribble: make (y)our own metaroom! |
Peppery One
Papriko
|
3/16/2010 | |
The CAOS Documentation wrote that it'll return to the last animation after the mouse is away, so was it no wonder that it worked.
But without you I probably would needed ages to get that idea, so thanks ^^
Lets play plants! Photosynthesis... Photosynthesis... Photosynthesis... |
|