Skip to content

Card.SetHint

Source Code | Usage Examples | Card Functions

Sets a card hint to be displayed on a card when a player hovers it.

Signature

Card.SetHint(Card c, CardHintType hint_type, int hint_value) → nil

lua
c:SetHint(hint_type,hint_value)

Parameters

  • Card c

    The card to receive the hint.

  • CardHintType hint_type

    The type of hint to display.

  • int hint_value

    The value of the hint to display.