Updated Jasperre's AI

Updated Jasperre's AI to 1.4, fixed a few other coding bugs & fully compiled module.
This commit is contained in:
Jaysyn904
2021-08-30 17:31:44 -04:00
parent 2e0b5b615b
commit 1c1c90e986
404 changed files with 11239 additions and 7881 deletions

View File

@@ -1,19 +1,21 @@
/************************ [Set Weapons] ****************************************
Filename: j_ai_setweapons
************************* [Set Weapons] ****************************************
/*/////////////////////// [Set Weapons] ////////////////////////////////////////
Filename: J_AI_SetWeapons
///////////////////////// [Set Weapons] ////////////////////////////////////////
Executed to re-set any weapons, or set them at spawn, using ExecuteScript.
It isn't included in the generic AI or onspawn to try and speed it up a little
************************* [History] ********************************************
///////////////////////// [History] ////////////////////////////////////////////
1.3 - Added to a new file, removed from spawn include.
************************* [Workings] *******************************************
1.4 - Nothing changed here. Include file might have changed however.
///////////////////////// [Workings] ///////////////////////////////////////////
It can be easily re-added to the spawn include, however, the generic AI calls
it so little, that it may well be useful to keep a seperate file anyway.
************************* [Arguments] ******************************************
///////////////////////// [Arguments] //////////////////////////////////////////
Arguments: RESET_HEALING_KITS
************************* [Set Weapons] ***************************************/
///////////////////////// [Set Weapons] //////////////////////////////////////*/
#include "J_INC_SETWEAPONS"
#include "j_inc_setweapons"
void main()
{
if(GetAIInteger(RESET_HEALING_KITS))