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

Go to the source code of this file.

Functions

function _playLocalSound (soundAlias)
 
function brush_delete ()
 
function brush_show ()
 
function brush_throw ()
 
function clearLowerMessage (fadetime)
 
function DoMaxDamage (origin, attacker, inflictor, headshot, mod)
 
function error (msg)
 
function get_array_of_closest (org, array, excluders, max, maxdist)
 
function get_player_height ()
 
function getfx (fx)
 
function getObjectiveHintText (team)
 
function getObjectiveScoreText (team)
 
function getObjectiveText (team)
 
function getOtherTeam (team)
 
function getOtherTeamsMask (skip_team)
 
function getPlayerFromClientNum (clientNum)
 
function getRemoteName ()
 
function getTeamMask (team)
 
function IsBulletImpactMOD (sMeansOfDeath)
 
function isFlashbanged ()
 
function isKillStreaksEnabled ()
 
function isPressBuild ()
 
function isStrStart (string1, subStr)
 
function playSoundOnPlayers (sound, team)
 
function plot_points (plotpoints, r, g, b, timer)
 
function printAndSoundOnEveryone (team, enemyteam, printFriendly, printEnemy, soundFriendly, soundEnemy, printarg)
 
function printBoldOnTeam (text, team)
 
function printBoldOnTeamArg (text, team, arg)
 
function printOnPlayers (text, team)
 
function printOnTeam (text, team)
 
function printOnTeamArg (text, team, arg)
 
function registerNumLives (minValue, maxValue)
 
function registerRoundLimit (minValue, maxValue)
 
function registerRoundSwitch (minValue, maxValue)
 
function registerRoundWinLimit (minValue, maxValue)
 
function registerScoreLimit (minValue, maxValue)
 
function registerTimeLimit (minValue, maxValue)
 
function set_dvar_float_if_unset (dvar, value, reset)
 
function set_dvar_if_unset (dvar, value, reset)
 
function set_dvar_int_if_unset (dvar, value, reset)
 
function setLowerMessage (text, time, combineMessageAndTimer)
 
function setLowerMessageValue (text, value, combineMessage)
 
function setObjectiveHintText (team, text)
 
function setObjectiveScoreText (team, text)
 
function setObjectiveText (team, text)
 
function setUsingRemote (remoteName)
 
function waitRespawnButton ()
 
function warning (msg)
 

Function Documentation

◆ _playLocalSound()

function _playLocalSound ( soundAlias  )

Definition at line 440 of file _util.gsc.

◆ brush_delete()

function brush_delete ( )

Definition at line 31 of file _util.gsc.

◆ brush_show()

function brush_show ( )

Definition at line 61 of file _util.gsc.

◆ brush_throw()

function brush_throw ( )

Definition at line 74 of file _util.gsc.

◆ clearLowerMessage()

function clearLowerMessage ( fadetime  )

Definition at line 246 of file _util.gsc.

References setLowerMessage().

◆ DoMaxDamage()

function DoMaxDamage ( origin  ,
attacker  ,
inflictor  ,
headshot  ,
mod   
)

Definition at line 673 of file _util.gsc.

References damage().

◆ error()

function error ( msg  )

Definition at line 16 of file _util.gsc.

◆ get_array_of_closest()

function get_array_of_closest ( org  ,
array  ,
excluders  ,
max  ,
maxdist   
)

Description:
"Function Name: get_array_of_closest( <org> , <array> , <excluders> , <max>, <maxdist> )"
"Summary: Returns an array of all the entities in < array > sorted in order of closest to farthest." "Module: Distance" "CallOn: "
"Mandatory Argument(s): <org> : Origin to be closest to."
"Mandatory Argument(s): <array> : Array of entities to check distance on."
"Optional Argument(s): <excluders> : Array of entities to exclude from the check."
"Optional Argument(s): <max> : Max size of the array to return"
"Optional Argument(s): <maxdist> : Max distance from the origin to return acceptable entities"
"Example:allies_sort = get_array_of_closest( originFC1.origin, allies );"
"Single Player / Multi Player: singleplayer"

Definition at line 712 of file _util.gsc.

References array, change(), and DEFAULT.

◆ get_player_height()

function get_player_height ( )

Definition at line 144 of file _util.gsc.

◆ getfx()

function getfx ( fx  )

Definition at line 489 of file _util.gsc.

◆ getObjectiveHintText()

function getObjectiveHintText ( team  )

Definition at line 590 of file _util.gsc.

◆ getObjectiveScoreText()

function getObjectiveScoreText ( team  )

Definition at line 585 of file _util.gsc.

◆ getObjectiveText()

function getObjectiveText ( team  )

Definition at line 580 of file _util.gsc.

◆ getOtherTeam()

function getOtherTeam ( team  )

Definition at line 449 of file _util.gsc.

◆ getOtherTeamsMask()

function getOtherTeamsMask ( skip_team  )

Definition at line 471 of file _util.gsc.

References getTeamMask().

◆ getPlayerFromClientNum()

function getPlayerFromClientNum ( clientNum  )

Definition at line 643 of file _util.gsc.

◆ getRemoteName()

function getRemoteName ( )

Definition at line 558 of file _util.gsc.

References isUsingRemote().

◆ getTeamMask()

function getTeamMask ( team  )

Definition at line 462 of file _util.gsc.

◆ IsBulletImpactMOD()

function IsBulletImpactMOD ( sMeansOfDeath  )

Definition at line 150 of file _util.gsc.

◆ isFlashbanged()

function isFlashbanged ( )

Definition at line 668 of file _util.gsc.

◆ isKillStreaksEnabled()

function isKillStreaksEnabled ( )

Definition at line 541 of file _util.gsc.

◆ isPressBuild()

function isPressBuild ( )

Definition at line 656 of file _util.gsc.

◆ isStrStart()

function isStrStart ( string1  ,
subStr   
)

Definition at line 536 of file _util.gsc.

◆ playSoundOnPlayers()

function playSoundOnPlayers ( sound  ,
team   
)

Definition at line 115 of file _util.gsc.

Referenced by announceRoundWinner().

◆ plot_points()

function plot_points ( plotpoints  ,
,
,
,
timer   
)

Definition at line 485 of file _util.gsc.

◆ printAndSoundOnEveryone()

function printAndSoundOnEveryone ( team  ,
enemyteam  ,
printFriendly  ,
printEnemy  ,
soundFriendly  ,
soundEnemy  ,
printarg   
)

Definition at line 341 of file _util.gsc.

◆ printBoldOnTeam()

function printBoldOnTeam ( text  ,
team   
)

Definition at line 285 of file _util.gsc.

◆ printBoldOnTeamArg()

function printBoldOnTeamArg ( text  ,
team  ,
arg   
)

Definition at line 298 of file _util.gsc.

◆ printOnPlayers()

function printOnPlayers ( text  ,
team   
)

Definition at line 324 of file _util.gsc.

◆ printOnTeam()

function printOnTeam ( text  ,
team   
)

Definition at line 273 of file _util.gsc.

◆ printOnTeamArg()

function printOnTeamArg ( text  ,
team  ,
arg   
)

Definition at line 310 of file _util.gsc.

◆ registerNumLives()

function registerNumLives ( minValue  ,
maxValue   
)

Definition at line 636 of file _util.gsc.

References clamp().

◆ registerRoundLimit()

function registerRoundLimit ( minValue  ,
maxValue   
)

Definition at line 602 of file _util.gsc.

References clamp().

◆ registerRoundSwitch()

function registerRoundSwitch ( minValue  ,
maxValue   
)

Definition at line 595 of file _util.gsc.

References clamp().

◆ registerRoundWinLimit()

function registerRoundWinLimit ( minValue  ,
maxValue   
)

Definition at line 610 of file _util.gsc.

References clamp().

◆ registerScoreLimit()

function registerScoreLimit ( minValue  ,
maxValue   
)

Definition at line 618 of file _util.gsc.

References clamp().

◆ registerTimeLimit()

function registerTimeLimit ( minValue  ,
maxValue   
)

Definition at line 627 of file _util.gsc.

References clamp().

◆ set_dvar_float_if_unset()

function set_dvar_float_if_unset ( dvar  ,
value  ,
reset   
)

Definition at line 509 of file _util.gsc.

◆ set_dvar_if_unset()

function set_dvar_if_unset ( dvar  ,
value  ,
reset   
)

Definition at line 495 of file _util.gsc.

◆ set_dvar_int_if_unset()

function set_dvar_int_if_unset ( dvar  ,
value  ,
reset   
)

Definition at line 522 of file _util.gsc.

◆ setLowerMessage()

function setLowerMessage ( text  ,
time  ,
combineMessageAndTimer   
)

Definition at line 166 of file _util.gsc.

◆ setLowerMessageValue()

function setLowerMessageValue ( text  ,
value  ,
combineMessage   
)

Definition at line 206 of file _util.gsc.

◆ setObjectiveHintText()

function setObjectiveHintText ( team  ,
text   
)

Definition at line 575 of file _util.gsc.

◆ setObjectiveScoreText()

function setObjectiveScoreText ( team  ,
text   
)

Definition at line 570 of file _util.gsc.

◆ setObjectiveText()

function setObjectiveText ( team  ,
text   
)

Definition at line 565 of file _util.gsc.

◆ setUsingRemote()

function setUsingRemote ( remoteName  )

Definition at line 546 of file _util.gsc.

References isUsingRemote().

◆ waitRespawnButton()

function waitRespawnButton ( )

Definition at line 156 of file _util.gsc.

◆ warning()

function warning ( msg  )

Definition at line 26 of file _util.gsc.