vault backup: 2023-02-16 21:56:37
This commit is contained in:
		
							parent
							
								
									e9c65b4ddf
								
							
						
					
					
						commit
						1e6199b358
					
				
					 1 changed files with 8 additions and 1 deletions
				
			
		|  | @ -1,6 +1,13 @@ | ||||||
| They are called from python with: | They are called from python with: | ||||||
| ```python | ```python | ||||||
| SAct.SetAct("EventFunc","!<CallbackName>") | # Set Callback function | ||||||
|  | Scrap.SetCallFunc("!<Callback Name>") | ||||||
|  | # Add parameters | ||||||
|  | Scrap.AddParams(str) | ||||||
|  | Scrap.AddParamf(float) | ||||||
|  | Scrap.AddParami(int) | ||||||
|  | # Execute | ||||||
|  | Scrap.Execute() | ||||||
| ``` | ``` | ||||||
| 
 | 
 | ||||||
| Note the `!` symbol in front of the callback name | Note the `!` symbol in front of the callback name | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue