Effect.SetLabelObject
Signature
lua
Effect.SetLabelObject(Effect e, Card|Group|Effect labelobject) -> voidDescription
Stores a Card, Group, Effect, or nil as e's label object.
Parameters
eEffectlabelobjectCard|Group|Effect
Source
D:\Programs\GitHub\ygopro-core\libeffect.cpp:622
Guided Examples
Learn how to use this function in context:
- Common Script Errors And Debugging
- Creation, Building, and Registration of an Effect Object
- EFFECT_TYPE Constants and Templates
- Special Summon-Only Monster Guide
- Tribute Summon Materials
Used By
Generated from the local Scripts/ folder and cards.cdb.
- Detected in 1714 indexed script(s).
- Search this function in the Script Explorer with
Effect.SetLabelObject.
Script Examples
Salamandra with Chain (62091148)
Source: Scripts/c62091148.lua
lua
e2:SetCountLimit(1)
e2:SetProperty(EFFECT_FLAG_IGNORE_IMMUNE)
e2:SetLabelObject(tc)
e2:SetCondition(s.descon)
e2:SetOperation(aux.EPDestroyOperation)Artmage Non-Finito (74631897)
Source: Scripts/c74631897.lua
lua
local sg=Group.FromCards(tc,tc2)
sg:KeepAlive()
e:SetLabelObject(sg)
return true
endLevia-Dragoon - Daedalus (78579058)
Source: Scripts/c78579058.lua
lua
if sg then
sg:KeepAlive()
e:SetLabelObject(sg)
return true
else return false end