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

Go to the source code of this file.

Functions

function add_ai_spawn_function (spawn_func)
 
function add_archetype_spawn_function (archetype, spawn_func)
 
function autoexec main ()
 
function shouldRegisterClientFieldForArchetype (archetype)
 
function spawned_callback (localClientNum)
 

Function Documentation

◆ add_ai_spawn_function()

function add_ai_spawn_function ( spawn_func  )

Definition at line 10 of file ai_shared.csc.

Referenced by main().

◆ add_archetype_spawn_function()

function add_archetype_spawn_function ( archetype  ,
spawn_func   
)

Definition at line 23 of file ai_shared.csc.

References ARRAY_ADD.

Referenced by __init__(), init(), main(), and RegisterBehaviorScriptFunctions().

◆ main()

function autoexec main ( )

Definition at line 3 of file ai_shared.csc.

References spawned_callback().

◆ shouldRegisterClientFieldForArchetype()

function shouldRegisterClientFieldForArchetype ( archetype  )

Description:
"Function Name: shouldRegisterClientFieldForArchetype([archetype])"
"Summary: returns true if clientfields should be registered for a given archetype. Need level.clientFieldAICheck set in level for this function to work." "Module: AI" "Mandatory Arg: archetype"
"Example:shouldRegisterClientFieldForArchetype(ARCHETYPE_WARLORD);"
"Single Player / Multi Player: both"

Definition at line 72 of file ai_shared.csc.

References IS_TRUE.

Referenced by __init__(), init(), and main().

◆ spawned_callback()

function spawned_callback ( localClientNum  )

Definition at line 41 of file ai_shared.csc.

Referenced by main().