SotheY
  • SotheY
  • Advanced Member Topic Starter
2016-10-31T14:22:33Z
Hey guys, I have a bit of trouble with this effect:

"If a Token is used for this card's Synchro Summon: Draw 1 card for each Token that was used for this card's Synchro Summon."



I get the error message "60: attempt to index a nil value" (line 60 is highlighted)
Also I am not sure if I need the "matcheck" function. I've never done such an effect before.

Thanks for help 🙂
Shad3Light
2016-11-01T09:00:17Z
This would be...
You need to Set the draw (Token)'s effect's Label Object first.
In this case, in initial_effect (I'm assuming it's an initial effect):
e2:SetLabelObject(e0)
SotheY
  • SotheY
  • Advanced Member Topic Starter
2016-11-01T21:44:22Z
Ooooh, right. It's been a while since I scripted; I completely forgot about that part... Thank you! 🙂