Skip to content

Auxiliary.RegisterMergedDelayedEvent_ToSingleCard ​

Signature ​

lua
Auxiliary.RegisterMergedDelayedEvent_ToSingleCard(Card c, int code, int|table events) -> int

Description ​

Registers single-card merged delayed event listeners for one event or a table of events, returning the generated custom event code. The helper clears stored cards when the owner moves to a public state and installs the shared Chain End raiser when needed.

Parameters ​

  • c Card
  • code int
  • events int|table

Returns ​

  • int - The generated custom event code.

Source ​

  • Utilities/utility.lua:1687

Used By ​

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

  • Detected in 39 indexed script(s).
  • Search this function in the Script Explorer with Auxiliary.RegisterMergedDelayedEvent_ToSingleCard.
CardIDScriptDetected Calls
Astrograph Sorcerer, the Starfrost Magician48171151Scripts/c48171151.lua1
Starving Venom Wing Dragon5148778Scripts/c5148778.lua1
Trirealm Rift Judgment65195679Scripts/c65195679.lua1
Number 38: Hope Harbinger Dragon Titanic Galaxy63767246Scripts/c63767246.lua1
Unchained Soul Rage Abominator21419436Scripts/c21419436.lua1
Weaver of Fairy Tails78021082Scripts/c78021082.lua1
Sudden Thunder Swamp23611122Scripts/c23611122.lua1
Shadow Severing Strike57232301Scripts/c57232301.lua1
Pendulum Witch43502497Scripts/c43502497.lua1
Tragic Twin Twined Jewels81143465Scripts/c81143465.lua1
Deep-Eyes White Dragon, the Blue Abyss67886895Scripts/c67886895.lua1
CXyz Gimmick Puppet Fanatix Machinix3685372Scripts/c3685372.lua1
Nouvelles Recipe Book "Recettes de Nouvellez"61944066Scripts/c61944066.lua1
Tachyon Cloudragon72705654Scripts/c72705654.lua1
Enneapolis17621695Scripts/c17621695.lua1
Union Hangar66399653Scripts/c66399653.lua1
Exosister Betrayal52335937Scripts/c52335937.lua1
Clown Crew New Face6547248Scripts/c6547248.lua1
Traptrix Pinguicula1688285Scripts/c1688285.lua1
The Iris Swordsoul62849088Scripts/c62849088.lua1
Zenet Per Akh72278590Scripts/c72278590.lua1
Draco Awakening66092596Scripts/c66092596.lua1
Bystial Baldrake72656408Scripts/c72656408.lua1
Thundercrash Snarecrow53754391Scripts/c53754391.lua1
...and 15 more

Script Examples ​

Astrograph Sorcerer, the Starfrost Magician (48171151) ​

Source: Scripts/c48171151.lua

lua
	c:RegisterEffect(e1)
	--special summon
	local custom_code=aux.RegisterMergedDelayedEvent_ToSingleCard(c,id,EVENT_DESTROYED)
	local e2=Effect.CreateEffect(c)
	e2:SetDescription(aux.Stringid(id,1))

Starving Venom Wing Dragon (5148778) ​

Source: Scripts/c5148778.lua

lua
	c:RegisterEffect(e1)
	--gain atk
	local custom_code=aux.RegisterMergedDelayedEvent_ToSingleCard(c,id,EVENT_SPSUMMON_SUCCESS)
	local e2=Effect.CreateEffect(c)
	e2:SetDescription(aux.Stringid(id,1))

Trirealm Rift Judgment (65195679) ​

Source: Scripts/c65195679.lua

lua
	c:RegisterEffect(e1)
	--recycle
	local custom_code=aux.RegisterMergedDelayedEvent_ToSingleCard(c,id,{EVENT_SUMMON_SUCCESS,EVENT_SPSUMMON_SUCCESS})
	local e2=Effect.CreateEffect(c)
	e2:SetDescription(aux.Stringid(id,0))