Ginkeltjes.5186:

Hello,

Would it be possible to add the last state of an event and maybe a timestamp ?

So instead of only the current state we would get.

Current state
Last state (So the state before it went to the current state)
Timestamp (The timestamp of which the last state changed to the current state).

Example of the problem atm:
If we would get those 3 instead of only the current state the problem with some events going from Success to Success should be fixed.
For example in my timer script I check every minute for a state change. Sometimes it happens that a dragon (fire elemental) is down within 1 minute.. This means that when I check its on success… few seconds after the event starts and goes to active… 40/50 seconds later the elemental is down and 10 seconds alter I check again and its already on success…
This way there is no way I can check (without checking almost every 20/30 seconds (which will increase server load a lot) for accurate timers.

I hope you can add this to the API so we can create better Timers for certain events!