GSC reference › Built-in

GadgetIsPrimed()

Built-in (engine) Server

Returns true if the gadget is primed.

Signature

GadgetIsPrimed(<slot>)

Parameters

NameRequired?Details
slotRequired The gadget slot to test. (integer)

Returns

Returns true if the gadget is primed.

Example (from Treyarch's docs)

self GadgetIsPrimed( slot )

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.

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