Installation - gruppe-adler/grad-aiCommand GitHub Wiki
Dependencies
Manually
- Create a folder in your mission root folder and name it
modules
. Then create one inside there and call itgrad-aicommand
. - Download the contents of this repository ( there's a download link at the side ) and put it into the directory you just created.
- Append the following lines of code to the
description.ext
:
#include "modules\grad-aicommand\grad_aicommand.hpp"
class CfgFunctions {
#include "modules\grad-aicommand\cfgFunctions.hpp"
};
npm
Via for details about what npm is and how to use it, look it up on npmjs.com
- Install package
grad-aicommand
:npm install --save grad-aicommand
- Append the following lines of code to the
description.ext
:
#define MODULES_DIRECTORY node_modules
#include "node_modules\grad-aicommand\grad_aicommand.hpp"
class CfgFunctions {
#include "node_modules\grad-aicommand\cfgFunctions.hpp"
};