Skip to content

Card.GetLinkedGroup ​

Signature ​

lua
Card.GetLinkedGroup(Card c) -> Group

Description ​

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 ​

  • c Card

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.
CardIDScriptDetected Calls
R.B. Lambda Blade17188206Scripts/c17188206.lua1
R.B. Lambda Cannon81794107Scripts/c81794107.lua1
Cyberse Contract Witch37458564Scripts/c37458564.lua2
Sylvan Dancepione21903613Scripts/c21903613.lua2
Cyberse Witch11674673Scripts/c11674673.lua1
Salamangreat Sunlight Wolf87871125Scripts/c87871125.lua1
S-Force Justify35334193Scripts/c35334193.lua2
Gergonne's End59490397Scripts/c59490397.lua2
Saryuja Skull Dread74997493Scripts/c74997493.lua2
Qliphort Genius22423493Scripts/c22423493.lua1
Zerrziel, Ruler of the Evil Eyed17739335Scripts/c17739335.lua2
Battle Shogun of the Six Samurai74752631Scripts/c74752631.lua1
Maliss <P> March Hare20938824Scripts/c20938824.lua1
Sunavalon Dryatrentiay92770064Scripts/c92770064.lua1
Rustin Mammoth3434362Scripts/c3434362.lua1
Xtra HERO Wonder Driver1948619Scripts/c1948619.lua1
Flash Charge Dragon95372220Scripts/c95372220.lua3
Puzzlomino, the Drop-n-Deleter84271823Scripts/c84271823.lua2
Subterror Behemoth Fiendess74937659Scripts/c74937659.lua1
Trickstar Band Drumatis64804137Scripts/c64804137.lua1
Junk Connector37337327Scripts/c37337327.lua2
R.B. VALCan Rocket79436874Scripts/c79436874.lua1
R.B. Ga10 Driller6043161Scripts/c6043161.lua1
Cyberse Wicckid52698008Scripts/c52698008.lua2
...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-tp

R.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