Skip to content

Effect.GetLabelObject ​

Signature ​

lua
Effect.GetLabelObject(Effect e) -> Card|Group|Effect

Description ​

Returns e's stored label object, or nil if none is stored or the object is no longer valid.

Parameters ​

  • e Effect

Returns ​

  • Card|Group|Effect

Source ​

  • D:\Programs\GitHub\ygopro-core\libeffect.cpp:636

Guided Examples ​

Learn how to use this function in context:

Used By ​

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

  • Detected in 1666 indexed script(s).
  • Search this function in the Script Explorer with Effect.GetLabelObject.
CardIDScriptDetected Calls
Salamandra with Chain62091148Scripts/c62091148.lua1
Artmage Non-Finito74631897Scripts/c74631897.lua1
Levia-Dragoon - Daedalus78579058Scripts/c78579058.lua1
Lady's Dragonmaid48658295Scripts/c48658295.lua1
Azure Ocean Dragon Lord - Neo-Daedalus Rage41570943Scripts/c41570943.lua1
Eternal Favorite87532344Scripts/c87532344.lua2
Spellbook of the Grand Circle11911336Scripts/c11911336.lua2
Ultra Polymerization76647978Scripts/c76647978.lua2
Goyo Emperor59255742Scripts/c59255742.lua3
Deftero Enneacraft - "alazoneIA"92171126Scripts/c92171126.lua2
Destiny HERO - Destro-Dogma25158975Scripts/c25158975.lua1
Yomagna the Fire Phantom17350692Scripts/c17350692.lua1
Fiendsmith's Sequence49867899Scripts/c49867899.lua1
Ehther the Heavenly Monarch96570609Scripts/c96570609.lua2
Spirit Illusion71939275Scripts/c71939275.lua2
Destratification Dino Stratiae3841104Scripts/c3841104.lua1
Pere-Zenet Em Heru46273941Scripts/c46273941.lua1
Am Duazenet45151304Scripts/c45151304.lua1
Ursarctic Polari27693363Scripts/c27693363.lua1
Odd-Eyes Revolution Dragon16306932Scripts/c16306932.lua1
Resurgam Xyz49082032Scripts/c49082032.lua2
Converging Wishes20007374Scripts/c20007374.lua2
Tohushaddoll Grysta95072744Scripts/c95072744.lua1
Predaplant Bal Teah66787942Scripts/c66787942.lua2
...and 1642 more

Script Examples ​

Salamandra with Chain (62091148) ​

Source: Scripts/c62091148.lua

lua
end
function s.descon(e,tp,eg,ep,ev,re,r,rp)
	local tc=e:GetLabelObject()
	if tc:GetFlagEffect(id)~=0 then
		return true

Artmage Non-Finito (74631897) ​

Source: Scripts/c74631897.lua

lua
function s.spop(e,tp,eg,ep,ev,re,r,rp,c)
	e:GetHandler():RegisterFlagEffect(id,RESET_EVENT+RESETS_STANDARD-RESET_TOFIELD+RESET_PHASE+PHASE_END,0,1)
	local g=e:GetLabelObject()
	local dg=g:Filter(s.disfilter,nil)
	g:Sub(dg)

Levia-Dragoon - Daedalus (78579058) ​

Source: Scripts/c78579058.lua

lua
function s.LinkOperation(f,minct,maxct,gf)
	return  function(e,tp,eg,ep,ev,re,r,rp,c,og,lmat,min,max)
				local g=e:GetLabelObject()
				c:SetMaterial(g)
				s.LExtraMaterialCount(g,c,tp)