|
| 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 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.