Help with Action Cards

Discuss and post your mods and scenarios here for others to download.

Moderator: Vic

Post Reply
User avatar
BULLDOGINTHEUK
Posts: 507
Joined: Fri Oct 12, 2007 12:48 pm
Location: Cardiff, UK

Help with Action Cards

Post by BULLDOGINTHEUK »

I have tried following Twebers advice found on the Tutorial above but cannot seem to get my action cards to come up. Yes before you ask, I have enabled them so that the grey 'hand cards' box comes up but I keep getting an error:

************** Exception Text **************
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at WindowsApplication1.PlayResearchWindowClass.docardshand()
at WindowsApplication1.PlayResearchWindowClass.domain()
at WindowsApplication1.PlayResearchWindowClass.HandleMouseClick(Int32 x, Int32 y, Int32 b)
at WindowsApplication1.SFScreenClass.HandleMouseClick(Int32 x, Int32 y, Int32 b)
at WindowsApplication1.Form1.Form1_Mousedown(Object sender, MouseEventArgs e)
at System.Windows.Forms.Control.OnMouseDown(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at WindowsApplication1.ImmoveableForm.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


Any help would be greatly appreciated.

Thanks.
User avatar
BULLDOGINTHEUK
Posts: 507
Joined: Fri Oct 12, 2007 12:48 pm
Location: Cardiff, UK

RE: Help with Action Cards

Post by BULLDOGINTHEUK »

Its okay, I worked it out. Had 1 number wrong in an event. Silly me [8|].
User avatar
Vic
Posts: 9931
Joined: Mon May 17, 2004 2:17 pm
Contact:

RE: Help with Action Cards

Post by Vic »

maybe you have assigned cards # that do not exist.
 
can you post the event code you used to assign the cards to the players? (there is a text export button in event editor)
Visit www.vrdesigns.net for the latest news, polls, screenshots and blogs on Shadow Empire, Decisive Campaigns and Advanced Tactics
User avatar
BULLDOGINTHEUK
Posts: 507
Joined: Fri Oct 12, 2007 12:48 pm
Location: Cardiff, UK

RE: Help with Action Cards

Post by BULLDOGINTHEUK »

Its okay, I just had one digit wrong. Have fixed the problem and no error message any more. I find it very hard to do events and action cards. [/align] [/align]Thanks for the quick reply Vic.[/align]
Post Reply

Return to “Mods and Scenarios”