There are several methods of determining if the syntax is correct before running scripts squint provides a fully-featured code editor which allows for syntax highlighting, displaying of errors and code correction. Syntax errors can be a frequent occurrence when developing scripts. Once you have tested your code, using missions in this way, you can then sequentially pack your PBO when major changes have been made, rather than for each debug session of a script or piece of code. The easiest way of accomplishing this is by the use of Event Scripts to run your code such as init.sqf. If you're working with an existing addon, or are developing one, repacking a PBO can be time-intensive, and can be replaced simply by creating a basic mission in the "Missions" or "MPmissions" (if your feature is multiplayer-specific) folder of your game installation, and then running the scenario or mission locally. The game already features Debug Console in basic installation. If you're at an advanced stage of a project, you can save the game when the bug appears and check the variable and script states with Chain of Command's Binary gamefile viewer link courtesy of
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |