Duel.HintSelection
Signature
lua
Duel.HintSelection(Group g) -> voidDescription
Displays the selection animation for g and records those cards as selected for client feedback.
Parameters
gGroup
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.
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)