LackeyCCG

LackeyCCG Forum => Plugins & Plugin Creation Forum => Topic started by: Adalam on May 26, 2010, 12:44:20 AM

Title: Card Functions/ General Functions
Post by: Adalam on May 26, 2010, 12:44:20 AM
Alright, I sent a message to a couple of people asking for help about this, but sadly, my patience was killed in middle school, lol. Anyways, I'm having a hard time getting the card functions{Tap, untap, etc..} and general functions{Draw, flip a coin, roll a dice, etc...} to work on my plugin. Can anyone help?
Title: Re: Card Functions/ General Functions
Post by: picks-at-flies on May 26, 2010, 05:54:25 AM
Copy them from another plugin :D
Title: Re: Card Functions/ General Functions
Post by: Adalam on May 26, 2010, 11:45:20 AM
Tried, it failed.
Title: Re: Card Functions/ General Functions
Post by: greasontim on May 26, 2010, 11:47:37 AM
all u need is tap and untap?
Title: Re: Card Functions/ General Functions
Post by: Adalam on May 26, 2010, 11:50:02 AM
And draw, flip over, flip a coin, roll a dice, pretty much the basic functions.
Title: Re: Card Functions/ General Functions
Post by: greasontim on May 26, 2010, 12:00:54 PM
those are built into basicly every plugin
give me a sec
Title: Re: Card Functions/ General Functions
Post by: Adalam on May 26, 2010, 12:01:14 PM
K
Title: Re: Card Functions/ General Functions
Post by: greasontim on May 26, 2010, 12:13:12 PM
GENERALFUNCTION0:"ALLYOURCARDSMAKERIGHT90DEGREES"   "TapAll"   1
GENERALFUNCTION1:"ALLYOURCARDSMAKERIGHT0DEGREES"   "Untap All"   1
GENERALFUNCTION2:"DRAWCARD"   "Draw"   1
GENERALFUNCTION3:"PREVIOUSPHASE"   "Previous Phase"   1
GENERALFUNCTION4:"NEXTPHASE"   "Next Phase"   1
GENERALFUNCTION5:"ROLLD6"   "Roll D6"   1
GENERALFUNCTION6:"FLIPCOIN"   "Flip Coin"   1
GENERALFUNCTION7:"NEXTTURN"   "Next Turn"   1

Replace yours with that one and you're good to go
Tap all, Untap All, Draw, Prev Phase, Next Phase, Roll (6 sided die), Flip Coin and of course Next Turn
Title: Re: Card Functions/ General Functions
Post by: Adalam on May 26, 2010, 12:20:03 PM
All in their own row right? Do the function name and numbers have to go in separate coloumns?
Title: Re: Card Functions/ General Functions
Post by: greasontim on May 26, 2010, 12:21:18 PM
just copy and paste
i posted them in their own row so it will paste them that way for you and all the info is correct so just take it
Title: Re: Card Functions/ General Functions
Post by: Adalam on May 26, 2010, 12:24:10 PM
Froze up on me
Title: Re: Card Functions/ General Functions
Post by: greasontim on May 26, 2010, 12:29:32 PM
have u changed your plugin info since the one u sent me?
Title: Re: Card Functions/ General Functions
Post by: Adalam on May 26, 2010, 12:30:56 PM
Nope
Title: Re: Card Functions/ General Functions
Post by: picks-at-flies on May 28, 2010, 05:12:58 AM
What program are you using to edit the file?
Title: Re: Card Functions/ General Functions
Post by: Adalam on May 28, 2010, 10:39:12 AM
It's fixed now, but I use Microsoft Works Spreadsheet.
Title: Re: Card Functions/ General Functions
Post by: picks-at-flies on May 28, 2010, 11:31:52 AM
Ack.  Use notepad for everything other than the cardlist.txt file.
Title: Re: Card Functions/ General Functions
Post by: Adalam on May 28, 2010, 11:57:50 AM
I heard that notepad adds unwanted junk codes or something. Wordpad works as well.
Title: Re: Card Functions/ General Functions
Post by: greasontim on May 28, 2010, 12:25:50 PM
for everything but carddata u want to use wordpad or Microsoft Word
carddata u want to use Microsoft Excel or Google documents (can download as a PDF file of your card data so you can have a full list of your cards)
Title: Re: Card Functions/ General Functions
Post by: Adalam on May 28, 2010, 12:26:19 PM
Yeah
Title: Re: Card Functions/ General Functions
Post by: picks-at-flies on May 28, 2010, 09:25:07 PM
I don't know where you heard that from - that is completely the wrong way around.  Word is horrendous for adding unwanted bits.