Group.DeleteGroup
Signature
lua
Group.DeleteGroup(Group g) -> voidDescription
Releases a Group previously preserved with Group.KeepAlive so Lua can manage it normally again. Calling this on an ordinary Group has no effect.
Parameters
gGroup
Source
D:\Programs\GitHub\ygopro-core\libgroup.cpp:902
Guided Examples
Learn how to use this function in context:
- Common Script Errors And Debugging
- Creation, Building, and Registration of an Effect Object
- Selection And Group Handling
- Special Summon-Only Monster Guide
Used By
Generated from the local Scripts/ folder and cards.cdb.
- Detected in 228 indexed script(s).
- Search this function in the Script Explorer with
Group.DeleteGroup.
Script Examples
Artmage Non-Finito (74631897)
Source: Scripts/c74631897.lua
lua
Duel.SendtoGrave(dg,REASON_SPSUMMON+REASON_DISCARD)
Duel.Release(g,REASON_SPSUMMON)
g:DeleteGroup()
end
function s.setfilter(c)Levia-Dragoon - Daedalus (78579058)
Source: Scripts/c78579058.lua
lua
s.LExtraMaterialCount(g,c,tp)
Duel.SendtoGrave(g,REASON_MATERIAL+REASON_LINK)
g:DeleteGroup()
end
endAzure Ocean Dragon Lord - Neo-Daedalus Rage (41570943)
Source: Scripts/c41570943.lua
lua
s.LExtraMaterialCount(g,c,tp)
Duel.SendtoGrave(g,REASON_MATERIAL+REASON_LINK)
g:DeleteGroup()
end
end