From 1e6199b358d3a651432263d13f5c0b9301cb7f4e Mon Sep 17 00:00:00 2001 From: Daniel Seiller Date: Thu, 16 Feb 2023 21:56:38 +0100 Subject: [PATCH] vault backup: 2023-02-16 21:56:37 --- Callbacks.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Callbacks.md b/Callbacks.md index 0d61e96..2efe9dd 100644 --- a/Callbacks.md +++ b/Callbacks.md @@ -1,6 +1,13 @@ They are called from python with: ```python -SAct.SetAct("EventFunc","!") +# Set Callback function +Scrap.SetCallFunc("!") +# Add parameters +Scrap.AddParams(str) +Scrap.AddParamf(float) +Scrap.AddParami(int) +# Execute +Scrap.Execute() ``` Note the `!` symbol in front of the callback name