GSC reference › Built-in
AreAllMissionsAtScore()
Built-in (engine)
Server
Called on: player
Returns true if all missions are at the score specified
Signature
<player> AreAllMissionsAtScore(<score>)
Called on an entity: player AreAllMissionsAtScore(...)
Parameters
| Name | Required? | Details |
|---|---|---|
| score | Required | A score that all missions must be at to return true (integer) |
Example (from Treyarch's docs)
is_score_achieved = self AreAllMissionsAtScore( 10000 )
Real uses in BO3's scripts
Not called anywhere in BO3's shipped scripts, so check it works in your mode before relying on it.
Related built-ins
- AllowScoreboard()Allow scoreboard or not
- SetInvisibleToAll()Set entity invisible to all players
- AllowSpectateTeam()Set whether the player can spectate the given team.
- SetVisibleToAll()Make the entity visible to all players
- AllowProne()Sets whether the player can go prone
- StopAllLoopSounds()Stops a loop sound
- AllowCrouch()Sets whether the player can crouch
- AllowStand()Sets whether the player can stand up
- IsWallRunning()Returns true if the player is wall running.
- GetTeamScore()Get a team's score
- AllowJump()Sets whether the player can jump
- AllowSprint()Sets whether the player can sprint
New to GSC?
Start with the basics, or paste a compile error to get the fix.
Built-in descriptions, parameters and examples come from Treyarch's BO3 mod tools docs. Usage links point at shiversoftdev/t7-source (decompiled BO3 scripts).