Page 1 of 1

Can't deal Action Card

Posted: Fri Nov 16, 2007 9:10 pm
by mtvaill
I'm trying to use an event to deal an action card, but I just can't get it to work. The action card is created and linked to an event, but I can't even deal it to the player for some reason. [:@] This is driving me nuts! What did I miss?

AC#0 to regime#1

0) EXECUTE: ExecGiveActionCard(0, 1)
1) EXECUTE: BlockEvent

???

RE: Can't deal Action Card

Posted: Fri Nov 16, 2007 10:21 pm
by gingerbread
What data have you entered for Action Card #0?

g

RE: Can't deal Action Card

Posted: Fri Nov 16, 2007 10:47 pm
by mtvaill
I gave it a title, descriptive text, a PPCost of 1, ExecuteEvent of 1, EventPicNr is 0 (a custom pic I downloaded), then colorscheme and AIlabel are both default of 0. I know the event the card is linked to works, as I've tried it on its own. This is still driving me nuts. Is there some global setting I need to change to allow action cards maybe?

RE: Can't deal Action Card

Posted: Fri Nov 16, 2007 10:54 pm
by mtvaill
I added a line to the event that is supposed to deal the action card.  The line adds 2 PP to the same regime, and that part works just fine, but still no action card...?

RE: Can't deal Action Card

Posted: Sat Nov 17, 2007 6:41 am
by tweber
Action cards are disabled by default.  Go to editor - settings - rules vars - Disable Features sheet and enable them.

RE: Can't deal Action Card

Posted: Sat Nov 17, 2007 2:20 pm
by mtvaill
Okay I tried that, but the setting keeps reverting every time I load the scenario. How do I make it permanent?

EDIT: Never mind, I figured it out; had to get rid of the masterfile. Thanks!

RE: Can't deal Action Card

Posted: Sat Nov 17, 2007 3:36 pm
by Vic
@mtvail,
 
either that (get rid of masterfile) or you use a ExecSetRulevar ( x ) = y in an initial event to enable the actioncards.