Black Ops 3 Source Code Explorer
0.1
An script explorer for Black Ops 3 by ZeRoY
behavior_state_machine.gsh
Go to the documentation of this file.
1
#define BSM_STATE_FUNC_START "bsm_state_start"
2
#define BSM_STATE_FUNC_UPDATE "bsm_state_update"
3
#define BSM_STATE_FUNC_TERMINATE "bsm_state_terminate"
4
5
// These enums must match with StateMachineStatus in behavior_state_machine_db.h
6
#define BSM_INVALID 0
7
#define BSM_DEFAULT BSM_INVALID
8
#define BSM_UNUSED1 1 // HACK - just to match status codes with the behavior tree, ease of use!
9
#define BSM_UNUSED2 2 // HACK - just to match status codes with the behavior tree, ease of use!
10
#define BSM_FAILURE 3
11
#define BSM_SUCCESS 4
12
#define BSM_RUNNING 5
13
14
#define BSM_REGISTER_CONDITION(name,scriptFunction) \
15
BehaviorStateMachine::RegisterBSMScriptAPIInternal(name,scriptFunction);
16
17
#define BSM_REGISTER_API(name,scriptFunction) \
18
BehaviorStateMachine::RegisterBSMScriptAPIInternal(name,scriptFunction);
19
scripts
shared
ai
systems
behavior_state_machine.gsh
Generated by
1.8.17