Update variables when modifying parameters
-
Good,
is there an option that detects the modification of parameters.
Currently I modify some constant from the parameters menu and the bot is not updated
Thank you very much
####################Buenas,
hay alguna opción que detecte la modificación de parámetros.
Actualmente modifico alguna constante desde el menú parámetros y no se me actualiza el bot.Gracias
-
@digimax
Constants and variables are different things, dou you want the variables to be updated when some constants are changed ?
Would be better to see the project -
I only read the parameters on init, when I load the bot.
But if I go to parameters and accept the changes, the bot does not go through the On Init event.
With the On init event I pass that parameter (constants) to Variable.What I want is to detect when the user presses the OK button in the parameter box
-
@digimax
Can you paste the link of your project, or an example of it plz ? -
I have already solved it, I save the constant in a variable in the On Init event and then I compare it every 0.5 sec. If I modify it in the Properties box, I already detect it. Thanks