Sertoxian Posted June 20, 2018 Report Share Posted June 20, 2018 I tried to make a simple custom card, but it says error when I try to test it. Here's the script. -- Namefunction c123458.initial_effect©local e1=Effect.CreateEffect©e1:SetType(EFFECT_TYPE_FLIP)e1:SetCode(EVENT_DRAW)e1:SetRange(LOCATION_MZONE)c:RegisterEffect(e1)end I want the effect to be draw a card when you flip this card. How can I do that? Link to comment Share on other sites More sharing options...
Flash Flyer - Sakura Posted June 21, 2018 Report Share Posted June 21, 2018 I tried to make a simple custom card, but it says error when I try to test it. Here's the script. -- Namefunction c123458.initial_effect©local e1=Effect.CreateEffect©e1:SetType(EFFECT_TYPE_FLIP)e1:SetCode(EVENT_DRAW)e1:SetRange(LOCATION_MZONE)c:RegisterEffect(e1)end I want the effect to be draw a card when you flip this card. How can I do that? Assuming this card's effect is just "FLIP: Draw 1 card", try borrowing the code from Skelengel, which does grant you a card if flipped face-up. I don't think that should render any errors, but depending on the version of YGOPro you are using, some of it may be using code that isn't in line with what the scripts actually use. I'll assume you are using the current version. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.