Author Topic: Time trigger and After(time)  (Read 1676 times)

Wishmaster84

  • EA User
  • **
  • Posts: 23
  • Karma: +0/-0
    • View Profile
Time trigger and After(time)
« on: April 05, 2023, 05:46:16 pm »
Hi All,

I need to create a time trigger that perform a transition after a period of time. I would like to use the after(time) trigger. Is it supported by EA?
Thanks


qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Time trigger and After(time)
« Reply #1 on: April 05, 2023, 09:18:09 pm »
In the State toolbox under Additional you find a Trigger element. Drag that onto the diagram and in the Properties under Trigger change Type to Time.

q.

Takeshi K

  • EA User
  • **
  • Posts: 593
  • Karma: +39/-1
    • View Profile
Re: Time trigger and After(time)
« Reply #2 on: April 06, 2023, 09:42:31 am »
Hello Wishmaster84,

How to create a Trigger is as qwerty wrote, but I guess that you want to use the 'after' trigger in the EA simulation feature. (The 'after' trigger has a special meaning, defined in the UML specification.)

If so, unfortunately the simulation feature for Statemachines does not support the 'after' trigger. You need to fire the trigger manually during simulation.

HTH,
--
t-kouno