- Steam App
- Gothic Virtual Tabletop (2757850)
- Event type
- patch note
- Published
- 11 January 2025 - 21:50:01 UTC
- Source
- steam_community_announcements
Added macro function 'is_valid_variable(var_name)' Added script comments * (Comments begin with the pound sign '#', and MUST END WITH A SEMICOLON, just like any other line.) Any line beginning with a '#' will not be executed as a part of the macro. documentation updated Fixed bug where multiple tokens in a stack would scale up as if they were all picked up. Only the top token (fully visible token) in a stack will be picked up. is_valid_variable(var_name) This function will return true if var_name is a variable with an assigned value in the current macro script, otherwise it will return false. I'm using this in a macro to test and see if the macro was provided any runtime arguments (arg0), which changes what the macro should do. Here's a snippet of a macro that checks if a variable (in this case a macro's runtime argument arg0) is valid in order to change the macro's behavior: if is_valid...