GSC reference › Built-in
ArtilleryIconLocation()
Built-in (engine)
Server
Set the artillery icon location
Signature
ArtilleryIconLocation(<position>, <teamNum>, <isActive>, [isMortar], [clientNum])
Parameters
| Name | Required? | Details |
|---|---|---|
| position | Required | Position of icon |
| teamNum | Required | Team number |
| isActive | Required | Whether the icon is active or not |
| isMortar | Optional | Whether the artillery is a mortar |
| clientNum | Optional | The client number |
Example (from Treyarch's docs)
ArtilleryIconLocation( self.origin, 1, true )
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
- PositionQuery_Filter_InClaimedLocation()Check if the locations are inside other sentients claimed locations <entity>.inClaimedLocation.
- Objective_Icon()Set the objective icon
- IsPosInClaimedLocation()Returns true/false if position is claimed by another sentient
- SetBeastModeIconMaterial()Sets the material used by beast mode icons
- GetLoadoutAllocation()Get how many allocation points are spent in the custom class
- Objective_SetIcon()Sets the icon for the objective
- SetCompassIcon()Sets the icon to be shown on the minimap
- SetEntBeastModeIconType()Sets the beast mode icon shown for a particular entity
- BeginLocationComlinkSelection()Begin a location com link selection
- BeginLocationMortarSelection()Begin a location mortar selection
- BeginLocationNapalmSelection()Begin a location napalm selection
- EndLocationSelection()Ends location selection
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).