Applies the glyph currently awaiting a target to a socket. Only valid during glyph application: when the player has activated the glyph item but before she has chosen the glyph slot to put it in (i.e. the glowing hand cursor is showing).

This function does not ask for confirmation before overwriting an existing glyph. However, calling this function only begins the "spellcast" that applies the glyph, so canceling glyph application is still possible.


See also Glyph functions.

Signature:

PlaceGlyphInSocket(socket)

Arguments:

  • socket - Which glyph socket to apply the glyph to (between 1 and NUM_GLYPH_SLOTS) (number, glyphIndex)
This function does not prompt the user for confirmation before its results take effect -- that behavior is provided by the default UI, and this function is called from the confirmation dialog