Skip to content

Duel.SetSynchroMaterial ​

Signature ​

lua
Duel.SetSynchroMaterial(Group g) -> void

Description ​

Stores g as the Synchro Material group for the current Synchro Material custom procedure. Local standard Synchro helpers usually keep their selected material group on the procedure effect instead; this function appears in custom material-provider scripts such as Flower Cardian Synchro helpers. This records the selected group for the core. It does not move those cards and returns no value.

Parameters ​

  • g Group - Selected Synchro Material group to store for the custom procedure.

Source ​

  • D:\Programs\GitHub\ygopro-core\libduel.cpp:4991

Guided Examples ​

Learn how to use this function in context:

Used By ​

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

  • Detected in 7 indexed script(s).
  • Search this function in the Script Explorer with Duel.SetSynchroMaterial.
CardIDScriptDetected Calls
Flower Cardian Peony with Butterfly57261568Scripts/c57261568.lua1
Flower Cardian Willow with Calligrapher89818984Scripts/c89818984.lua1
Flower Cardian Moonflowerviewing33541430Scripts/c33541430.lua1
R-Genex Turing61052897Scripts/c61052897.lua1
T.G. Cyber Magician64910482Scripts/c64910482.lua1
Tatsunoko55863245Scripts/c55863245.lua1
Tatsunecro3096468Scripts/c3096468.lua1

Script Examples ​

Flower Cardian Peony with Butterfly (57261568) ​

Source: Scripts/c57261568.lua

lua
		g:Merge(sg)
	end
	Duel.SetSynchroMaterial(g)
end

Flower Cardian Willow with Calligrapher (89818984) ​

Source: Scripts/c89818984.lua

lua
		g:Merge(sg)
	end
	Duel.SetSynchroMaterial(g)
end

Flower Cardian Moonflowerviewing (33541430) ​

Source: Scripts/c33541430.lua

lua
		g:Merge(sg)
	end
	Duel.SetSynchroMaterial(g)
end