Skip to content

Duel.Hint

Source Code | Usage Examples | Duel Functions

Creates a message for the "player" which has "type" as key and "desc" as value. It is entirely up to the client to interpret say data, the most common case is setting the selection message with, "type" being "HINT_SELECTMSG" and "desc" being a stringId. It is also used to implement Skill Cards visually. Check the "HINT_XXX" constants for their behaviour.

Signature

Duel.Hint(int hint_type, int player, int desc) → nil

lua
Duel.Hint(hint_type,player,desc)

Parameters


under-construction