question

Francisco P3 avatar image
0 Likes"
Francisco P3 asked Joerg Vogel answered

Recurrent Messages

Hi, another newbie question. The text below is already working to send 1 message after 10 seconds (but only once). How can this be changed to send 1 message every 10 seconds?

senddelayedmessage(centerobject(current,1),10,current);

Thanks.

FlexSim 19.0.9
flexsim 19.0.9coding
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

·
Joerg Vogel avatar image
2 Likes"
Joerg Vogel answered

You add a User Event which you set to an repeating interval:

You find user events in a licensed version of FlexSim in Toolbox. You add it by the green plus icon.

The always functioning approach sends a delayed message in On Message trigger where the first message is received to the current object again.


5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.