Signature
SetMiniMap(<material>, <upperLeftX>, <upperLeftY>, <lowerRightX>, <lowerRightY>)
Parameters
| Name | Required? | Details |
|---|---|---|
| material | Required | Sets the material |
| upperLeftX | Required | Upper left X value |
| upperLeftY | Required | Upper left Y value |
| lowerRightX | Required | Lower right X value |
| lowerRightY | Required | Lower right Y value |
Example (from Treyarch's docs)
setMiniMap(material, northwest[0], northwest[1], southeast[0], southeast[1])
Real uses in BO3's scripts
Called 1 time in the decompiled scripts. A few, zombies first:
- scripts/shared/compass.gsc, line 77
setminimap(material, northwest[0], northwest[1], southeast[0], southeast[1]);
Related built-ins
- SetTurretMinimapVisible()Sets whether a turret is visible on the minimap.
- MapShaderConstant()Maps a shader constant to an index.
- MapFloat()Returns a lerped value between <from> and <to> based on <time>.
- GetRootMapName()Returns the root map of a mission
- SetMapCenter()Set the center of the map (used by the network code to optimize position data)
- AnimMappingSearch()Searches animation mapping table to return a animation name when given a animation mapping alias name.
- Map_Restart()Restarts the map
- GetMapOrder()Get the index of the current map in the maptable.
- IsMapSubLevel()Returns whether or not the map is a sublevel of a mission
- SetClientMiniScoreboardHide()Sets miniscoreboardhide dvar only on this client
- SwitchMap_Preload()Start preloading a map/level.
- SwitchMap_Switch()Switch to the loaded map/level
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).