Action Duration

Discussion in 'Technical Discussion' started by trudnai, Nov 1, 2015.

  1. trudnai

    trudnai Miniboss Boxer

    Joined:
    Sep 25, 2015
    Messages:
    1,235
    Likes Received:
    701
    Hi Guys,

    I have few questions about action duration:
    1. Is there an "infinite" duration? So once character hits an action it changes Gameplay settings forever. -1 and 0 did not seem to do the trick...
    2. What happens if I change Gameplay for 10 seconds, and one second later change the Gameplay for 2 seconds? After 2 seconds does it fall back to the previous one as 7 seconds left or to the original settings?
    3. And last question is kinda falls back to the first two: Is there a resource leak I need to be aware of with this? Let's say I constantly change Gameplay with a very high number of Duration therefore non of them will ever expire... Does it mean I am filling up a sort of message queue and then at some point I will have a problem with that? Does it reset at end of game or other events during the app runs?
     
  2. trudnai

    trudnai Miniboss Boxer

    Joined:
    Sep 25, 2015
    Messages:
    1,235
    Likes Received:
    701
    @Andy Sorry to bug you but do you know the answer to these questions by any chance or whom to ask?

    Thanks,
    Tamas
     
  3. Andy

    Andy Miniboss Boxer

    Joined:
    Sep 24, 2015
    Messages:
    2,152
    Likes Received:
    1,546
    1) set the number of seconds really high.
    2) try and see for sure, but i believe generally the latest one cancels the previous one
    3) I believe #2 answers the question... there is no queue as far as I know.
     
    stevinz and trudnai like this.
  4. trudnai

    trudnai Miniboss Boxer

    Joined:
    Sep 25, 2015
    Messages:
    1,235
    Likes Received:
    701
    Thanks, I will test it further.
     

Share This Page