News:

A forum for users of LackeyCCG

Main Menu

Script Help

Started by Crionos, November 19, 2014, 08:15:05 AM

Previous topic - Next topic

Crionos

Hey guys, I'm trying to write a script that will create a button below the main play window called "attack." When this button is clicked it should rotate the selected card 45 degrees to the right. I have tried coding it at follows, but a button does not appear on the window.

<cardfunction><label>Attack</label><kind>MAKERIGHT45DEGREES</kind><includeasbutton>yes</includeasbutton></cardfunction>

Finally,

I've tried to add entries into my carddata.txt file for Type: Token.  This does not seem to give me an option for spawning token cards in the game and just gives a standard card entry in the deck editor.  Can you please advise what needs to happen inorder to spawn tokens into the game?

Drigz

As far as I can tell, you can only make 90 degree rotations.