![]() |
Black Ops 3 Source Code Explorer
0.1
An script explorer for Black Ops 3 by ZeRoY
|
Go to the source code of this file.
Macros | |
#define | LARGE_SEARCH_RADIUS 2048 |
#define | PLAYER_HALF_HEIGHT 16 |
#define | PLAYER_POS_SEARCH_RADIUS 100 |
#define | PLAYER_RADIUS 15 |
Functions | |
function | __init__ () |
function | allow_stance_change (b_allow=true) |
function | fill_current_clip () |
function | generate_weapon_data () |
function | get_snapped_spot_origin (spot_position) |
function | get_weapondata (weapon) |
function | give_back_weapons (b_immediate=false) |
function | is_spawn_protected () |
function | is_valid_weapon (weaponObject) |
function | last_valid_position () |
function | on_player_spawned () |
function | simple_respawn () |
function | switch_to_primary_weapon (b_immediate=false) |
function | take_weapons () |
function | weapondata_give (weapondata) |
#define LARGE_SEARCH_RADIUS 2048 |
Definition at line 18 of file player_shared.gsc.
#define PLAYER_HALF_HEIGHT 16 |
Definition at line 16 of file player_shared.gsc.
#define PLAYER_POS_SEARCH_RADIUS 100 |
Definition at line 17 of file player_shared.gsc.
#define PLAYER_RADIUS 15 |
Definition at line 15 of file player_shared.gsc.
function __init__ | ( | ) |
Definition at line 22 of file player_shared.gsc.
References on_player_spawned(), on_spawned(), register(), and VERSION_TU4.
function allow_stance_change | ( | b_allow | = true | ) |
Definition at line 402 of file player_shared.gsc.
function fill_current_clip | ( | ) |
Definition at line 345 of file player_shared.gsc.
Referenced by cSceneObject::_finish_player().
function generate_weapon_data | ( | ) |
Definition at line 160 of file player_shared.gsc.
References ARRAY_ADD, DEFAULT, get_weapondata(), and IS_TRUE.
function get_snapped_spot_origin | ( | spot_position | ) |
Definition at line 381 of file player_shared.gsc.
References trace().
Referenced by on_player_spawned().
function get_weapondata | ( | weapon | ) |
Definition at line 233 of file player_shared.gsc.
Referenced by generate_weapon_data(), and take_weapons().
function give_back_weapons | ( | b_immediate | = false | ) |
Definition at line 203 of file player_shared.gsc.
References switch_to_primary_weapon(), and weapondata_give().
Referenced by cSceneObject::finish().
function is_spawn_protected | ( | ) |
Definition at line 364 of file player_shared.gsc.
References VAL.
Referenced by lightninggun_find_arc_targets(), player_is_spawn_protected_from_explosive(), proximityWeaponObject_IsSpawnProtected(), and should_do_player_damage().
function is_valid_weapon | ( | weaponObject | ) |
Definition at line 359 of file player_shared.gsc.
Referenced by switch_to_primary_weapon().
function last_valid_position | ( | ) |
Definition at line 58 of file player_shared.gsc.
References LARGE_SEARCH_RADIUS, PLAYER_HALF_HEIGHT, PLAYER_POS_SEARCH_RADIUS, PLAYER_RADIUS, SQR, and ZM_MELEE_DIST.
Referenced by get_locomotion_target(), and on_player_spawned().
function on_player_spawned | ( | ) |
Definition at line 29 of file player_shared.gsc.
References get(), get_snapped_spot_origin(), IS_TRUE, and last_valid_position().
Referenced by __init__().
function simple_respawn | ( | ) |
Description:
"Function Name: simple_respawn()"
"Summary: Respawn a player at whatever the current best spawn point is using the gamemodes base spawn function. Most of the spawn logic is not included and this is mostly just a teleport using the spawn logic. The player entity is untouched, and no spawn callbacks are called." "CallOn: player"
"Example:e_player player::simple_respawn();"
Definition at line 376 of file player_shared.gsc.
function switch_to_primary_weapon | ( | b_immediate | = false | ) |
Definition at line 330 of file player_shared.gsc.
References is_valid_weapon().
Referenced by cSceneObject::_prepare_player(), and give_back_weapons().
function take_weapons | ( | ) |
Definition at line 114 of file player_shared.gsc.
References ARRAY_ADD, DEFAULT, get_weapondata(), and IS_TRUE.
Referenced by cSceneObject::_prepare().
function weapondata_give | ( | weapondata | ) |
Definition at line 291 of file player_shared.gsc.
References get_weapon_by_name().
Referenced by give_back_weapons(), and return_additionalprimaryweapon().