Jump to content

How to SetOperation and Condition, i don't know how to do it


huytgio147

Recommended Posts

example from my card:

If this card is sent to graveyard by battle or card effect,you can discard all Machine-Type monster in your hand, return this card to your hand.

 

e1:SetType(EFFECT_TYPE_SIGNLE)
e2:SetCode(EVENT_DESTROY)
e2:SetRange(LOCATION_MZONE)
e2:SetOperation(c14785201.?)
e2:SetCondition(c14785201.?)
 
 Can i replace the question mark after the dot in the line 4 and line 5 by what? and how to create function to set for its?
I'm newbie, Please help me!
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...