I was looking at the GameScript (http://www.blitzbasic.com/Community/posts.php?topic=69531) example1.bb (the prime numbers example), is there a way for the script (.gs/.gsx file) to reference objects (variables, types, etc…) that exist in the main program.
For example, let’s say I have an enemy tank type in the main program and I wanted to write an AI routine in the script to control the tank. Is there a way to control enemy tank type from within the script. Thanks for any help.
For example, let’s say I have an enemy tank type in the main program and I wanted to write an AI routine in the script to control the tank. Is there a way to control enemy tank type from within the script. Thanks for any help.