Effect.GetLabelObject
Signature
lua
Effect.GetLabelObject(Effect e) -> Card|Group|EffectDescription
Returns e's stored label object, or nil if none is stored or the object is no longer valid.
Parameters
eEffect
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.
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 trueArtmage 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)