Card.GetLinkedGroup
Signature
lua
Card.GetLinkedGroup(Card c) -> GroupDescription
Returns the cards currently occupying zones linked by c. Use this when an effect cares about the actual cards in zones pointed to by c's Link Markers.
Parameters
cCard
Returns
Group- Cards currently in c's linked zones.
Source
D:\Programs\GitHub\ygopro-core\libcard.cpp:3470
Guided Examples
Learn how to use this function in context:
Used By
Generated from the local Scripts/ folder and cards.cdb.
- Detected in 61 indexed script(s).
- Search this function in the Script Explorer with
Card.GetLinkedGroup.
| Card | ID | Script | Detected Calls |
|---|---|---|---|
| R.B. Lambda Blade | 17188206 | Scripts/c17188206.lua | 1 |
| R.B. Lambda Cannon | 81794107 | Scripts/c81794107.lua | 1 |
| Cyberse Contract Witch | 37458564 | Scripts/c37458564.lua | 2 |
| Sylvan Dancepione | 21903613 | Scripts/c21903613.lua | 2 |
| Cyberse Witch | 11674673 | Scripts/c11674673.lua | 1 |
| Salamangreat Sunlight Wolf | 87871125 | Scripts/c87871125.lua | 1 |
| S-Force Justify | 35334193 | Scripts/c35334193.lua | 2 |
| Gergonne's End | 59490397 | Scripts/c59490397.lua | 2 |
| Saryuja Skull Dread | 74997493 | Scripts/c74997493.lua | 2 |
| Qliphort Genius | 22423493 | Scripts/c22423493.lua | 1 |
| Zerrziel, Ruler of the Evil Eyed | 17739335 | Scripts/c17739335.lua | 2 |
| Battle Shogun of the Six Samurai | 74752631 | Scripts/c74752631.lua | 1 |
| Maliss <P> March Hare | 20938824 | Scripts/c20938824.lua | 1 |
| Sunavalon Dryatrentiay | 92770064 | Scripts/c92770064.lua | 1 |
| Rustin Mammoth | 3434362 | Scripts/c3434362.lua | 1 |
| Xtra HERO Wonder Driver | 1948619 | Scripts/c1948619.lua | 1 |
| Flash Charge Dragon | 95372220 | Scripts/c95372220.lua | 3 |
| Puzzlomino, the Drop-n-Deleter | 84271823 | Scripts/c84271823.lua | 2 |
| Subterror Behemoth Fiendess | 74937659 | Scripts/c74937659.lua | 1 |
| Trickstar Band Drumatis | 64804137 | Scripts/c64804137.lua | 1 |
| Junk Connector | 37337327 | Scripts/c37337327.lua | 2 |
| R.B. VALCan Rocket | 79436874 | Scripts/c79436874.lua | 1 |
| R.B. Ga10 Driller | 6043161 | Scripts/c6043161.lua | 1 |
| Cyberse Wicckid | 52698008 | Scripts/c52698008.lua | 2 |
| ...and 37 more |
Script Examples
R.B. Lambda Blade (17188206)
Source: Scripts/c17188206.lua
lua
local lg2=Group.CreateGroup()
for lc in aux.Next(lg) do
lg2:Merge(lc:GetLinkedGroup())
end
return lg2 and lg2:IsContains(e:GetHandler()) and Duel.GetTurnPlayer()==1-tpR.B. Lambda Cannon (81794107)
Source: Scripts/c81794107.lua
lua
local lg2=Group.CreateGroup()
for lc in aux.Next(lg) do
lg2:Merge(lc:GetLinkedGroup())
end
return lg2 and lg2:IsContains(e:GetHandler())Cyberse Contract Witch (37458564)
Source: Scripts/c37458564.lua
lua
function s.thcfilter(c,ec)
if c:IsLocation(LOCATION_MZONE) then
return ec:GetLinkedGroup():IsContains(c)
else
return bit.extract(ec:GetLinkedZone(c:GetPreviousControler()),c:GetPreviousSequence())~=0