Skip to content

Card.SetHint ​

Signature ​

lua
Card.SetHint(Card c, int type, int value) -> void

Description ​

Sends a client card-hint message for c with hint type and value; types at or above CHINT_DESC_ADD are ignored.

Parameters ​

  • c Card
  • type int
  • value int

Source ​

  • D:\Programs\GitHub\ygopro-core\libcard.cpp:3710

Used By ​

Generated from the local Scripts/ folder and cards.cdb.

  • Detected in 8 indexed script(s).
  • Search this function in the Script Explorer with Card.SetHint.
CardIDScriptDetected Calls
Nephe Shaddoll Fusion60226558Scripts/c60226558.lua1
Tualatin27769400Scripts/c27769400.lua1
Maple Maiden73104892Scripts/c73104892.lua1
Mirror Resonator40159926Scripts/c40159926.lua1
Genomix Fighter42155488Scripts/c42155488.lua1
Cloak and Dagger8323633Scripts/c8323633.lua1
Prohibition43711255Scripts/c43711255.lua1
Final Countdown95308449Scripts/c95308449.lua1

Script Examples ​

Nephe Shaddoll Fusion (60226558) ​

Source: Scripts/c60226558.lua

lua
		e1:SetReset(RESET_EVENT+RESETS_STANDARD)
		c:RegisterEffect(e1)
		c:SetHint(CHINT_ATTRIBUTE,att)
	end
end

Tualatin (27769400) ​

Source: Scripts/c27769400.lua

lua
	Duel.Destroy(g,REASON_EFFECT)
	if c:IsRelateToEffect(e) then
		c:SetHint(CHINT_ATTRIBUTE,rc)
		local e1=Effect.CreateEffect(c)
		e1:SetType(EFFECT_TYPE_FIELD)

Maple Maiden (73104892) ​

Source: Scripts/c73104892.lua

lua
		e1:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_DISABLE)
		c:RegisterEffect(e1)
		c:SetHint(CHINT_ATTRIBUTE,att)
	end
end