Skip to content

Duel.HintSelection ​

Signature ​

lua
Duel.HintSelection(Group g) -> void

Description ​

Displays the selection animation for g and records those cards as selected for client feedback.

Parameters ​

  • g Group

Source ​

  • D:\Programs\GitHub\ygopro-core\libduel.cpp:5021

Guided Examples ​

Learn how to use this function in context:

Used By ​

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

  • Detected in 778 indexed script(s).
  • Search this function in the Script Explorer with Duel.HintSelection.
CardIDScriptDetected Calls
Salamandra with Chain62091148Scripts/c62091148.lua2
Astrograph Sorcerer, the Starfrost Magician48171151Scripts/c48171151.lua1
Pendulum Evolution55795155Scripts/c55795155.lua2
Lady's Dragonmaid48658295Scripts/c48658295.lua1
Astrograph Sorcerer76794549Scripts/c76794549.lua1
Ashtraja Susanoo17020474Scripts/c17020474.lua1
Destiny HERO - Destro-Dogma25158975Scripts/c25158975.lua1
Yomagna the Fire Phantom17350692Scripts/c17350692.lua1
Fiendsmith's Sequence49867899Scripts/c49867899.lua1
D/D/D Alfred the Divine Sage King11852093Scripts/c11852093.lua1
Mementotlan Fusion66518509Scripts/c66518509.lua1
Performage Cup Tricker6812770Scripts/c6812770.lua1
Lubellion the Searing Dragon70534340Scripts/c70534340.lua1
Magnet Bonding65514302Scripts/c65514302.lua1
D/D Count Surveyor5997110Scripts/c5997110.lua1
Enneacraft - Aiza.LEON82359538Scripts/c82359538.lua1
GMX Associate Noma83528184Scripts/c83528184.lua1
Shooting Majestic Star Dragon40939228Scripts/c40939228.lua1
Vidolium the Unstable Power Patron of Unity70488851Scripts/c70488851.lua1
Starving Venemy Dragon93729065Scripts/c93729065.lua1
A Bao A Qu, the Lightless Shadow4731783Scripts/c4731783.lua1
Witchcrafter Celebration6958567Scripts/c6958567.lua2
Jupredo the Shademachine Power Patron43871165Scripts/c43871165.lua2
D/D Extra Surveyor74387963Scripts/c74387963.lua1
...and 754 more

Script Examples ​

Salamandra with Chain (62091148) ​

Source: Scripts/c62091148.lua

lua
			Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_FACEUP)
			local g=Duel.SelectMatchingCard(tp,s.posfilter,tp,LOCATION_MZONE,LOCATION_MZONE,1,1,nil)
			Duel.HintSelection(g)
			local tc2=g:GetFirst()
			Duel.ChangePosition(tc2,POS_FACEDOWN_DEFENSE)

Astrograph Sorcerer, the Starfrost Magician (48171151) ​

Source: Scripts/c48171151.lua

lua
			if mat:Filter(s.cfilter,nil):GetCount()>0 then
				local cg=mat:Filter(s.cfilter,nil)
				Duel.HintSelection(cg)
			end
			Duel.SendtoDeck(mat,nil,SEQ_DECKSHUFFLE,REASON_EFFECT+REASON_MATERIAL+REASON_FUSION)

Pendulum Evolution (55795155) ​

Source: Scripts/c55795155.lua

lua
	local sg=Group.CreateGroup()
	sg:Merge(g)
	Duel.HintSelection(Group.FromCards(lpz))
	Duel.HintSelection(Group.FromCards(rpz))
	Duel.RaiseEvent(sg,EVENT_SPSUMMON_SUCCESS_G_P,e,REASON_EFFECT,tp,tp,0)