[solved] Interpolating alpha on a timer within an actor receives event rule?

LokitoesLokitoes Member, PRO Posts: 187
edited January 2015 in Working with GS (Mac)

Hi all,

Hopefully this will be my last dumb question like this. I have an actor interpolating onto the scene when a key is down. So when key is pressed, attribute of self alpha changes from 0 to 1. But I want it to disappear again on its own after, say, 10 seconds. So I put my interpolate of alpha attribute into a 10 second 'for' timer within the key rule, but it's not working? It interpolates in and then just stays there forever. I've tried with run to completion, I've tried without, I've tried it with an 'otherwise' state, but none are working. Is there something else I should be doing?

Comments

  • SocksSocks London, UK.Member Posts: 12,822

    @Lokitoes said:
    . . . it to disappear again on its own after</font color>, say, 10 seconds. So I put my interpolate of alpha attribute into a 10 second 'for' timer within the key rule, but it's not working?

    Have you tried using an 'after' timer instead of a 'for' timer ?

  • LokitoesLokitoes Member, PRO Posts: 187

    Yeah it seems to count that 10 seconds from the time the game is opened rather than from the time the button is pressed.

  • LokitoesLokitoes Member, PRO Posts: 187

    Nope, wait, I think I've got it. Thanks :)

Sign In or Register to comment.