‪Black Ops 3 Source Code Explorer  0.1
‪An script explorer for Black Ops 3 by ZeRoY
_bot_dom.gsc File Reference

Go to the source code of this file.

Macros

#define ARBITARY_RADIUS   160
 
#define BOT_DOM_FLAG_NEAR_DIST_SQ   384 * 384
 
#define BOT_RADIUS   15
 
#define FLAG_TARGET_SPACING   37.5
 
#define MAX_FLAG_TARGET_HEIGHT   72
 
#define MAX_FLAG_TARGET_POINTS   256
 

Functions

function bot_idle ()
 
function bot_pre_combat ()
 
function bot_update ()
 
function bot_update_threat_goal ()
 
function get_best_flag ()
 
function get_capturing_flag ()
 
function init ()
 

Macro Definition Documentation

◆ ARBITARY_RADIUS

#define ARBITARY_RADIUS   160

Definition at line 20 of file _bot_dom.gsc.

◆ BOT_DOM_FLAG_NEAR_DIST_SQ

#define BOT_DOM_FLAG_NEAR_DIST_SQ   384 * 384

Definition at line 16 of file _bot_dom.gsc.

◆ BOT_RADIUS

#define BOT_RADIUS   15

Definition at line 24 of file _bot_dom.gsc.

◆ FLAG_TARGET_SPACING

#define FLAG_TARGET_SPACING   37.5

Definition at line 23 of file _bot_dom.gsc.

◆ MAX_FLAG_TARGET_HEIGHT

#define MAX_FLAG_TARGET_HEIGHT   72

Definition at line 22 of file _bot_dom.gsc.

◆ MAX_FLAG_TARGET_POINTS

#define MAX_FLAG_TARGET_POINTS   256

Definition at line 21 of file _bot_dom.gsc.

Function Documentation

◆ bot_idle()

function bot_idle ( )

Definition at line 69 of file _bot_dom.gsc.

References approach_goal_trigger(), get_best_flag(), path_to_point_in_trigger(), and sprint_to_goal().

Referenced by init().

◆ bot_pre_combat()

function bot_pre_combat ( )

Definition at line 55 of file _bot_dom.gsc.

References get_owner_team(), has_threat(), and mp_pre_combat().

Referenced by init().

◆ bot_update()

function bot_update ( )

Definition at line 34 of file _bot_dom.gsc.

References get_capturing_flag(), and goal_in_trigger().

Referenced by init().

◆ bot_update_threat_goal()

function bot_update_threat_goal ( )

Definition at line 93 of file _bot_dom.gsc.

References path_to_point_in_trigger(), and update_threat_goal().

Referenced by init().

◆ get_best_flag()

function get_best_flag ( )

Definition at line 123 of file _bot_dom.gsc.

References get_num_touching_except_team(), and get_owner_team().

Referenced by bot_idle().

◆ get_capturing_flag()

function get_capturing_flag ( )

Definition at line 110 of file _bot_dom.gsc.

References get_owner_team().

Referenced by bot_update().

◆ init()

function init ( )

Definition at line 26 of file _bot_dom.gsc.

References bot_idle(), bot_pre_combat(), bot_update(), and bot_update_threat_goal().