Newbie - Create Event Questions

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

Moderator: Vic

Post Reply
dkong
Posts: 77
Joined: Tue Jun 24, 2008 9:30 pm

Newbie - Create Event Questions

Post by dkong »

I am trying to create simple events for Action Card. But when I ran the scenario, the game crashes on me. Have no idea what I had done wrong, and want to seek some veteran's advice... Basically I created an action card to provide reinforcement of certain units to appear in one of the city, I had created event to deal & play this action card but not sure if is done properly.

The following are my steps:

1) I first created a predefined unit in the city to be call into action when the Action Card is played.



Image
Attachments
1d.jpg
1d.jpg (84.9 KiB) Viewed 126 times
DK
dkong
Posts: 77
Joined: Tue Jun 24, 2008 9:30 pm

RE: Newbie - Create Event Questions

Post by dkong »

2) Then I create my first event to deal this Action Card to Regime '0' during the 1st round of the scenario.

Image
Attachments
1a.jpg
1a.jpg (107.86 KiB) Viewed 126 times
DK
dkong
Posts: 77
Joined: Tue Jun 24, 2008 9:30 pm

RE: Newbie - Create Event Questions

Post by dkong »

3) I then create my second event which would play the Action Card.

Image
Attachments
1b.jpg
1b.jpg (60.33 KiB) Viewed 126 times
DK
dkong
Posts: 77
Joined: Tue Jun 24, 2008 9:30 pm

RE: Newbie - Create Event Questions

Post by dkong »

4) And lastly, I created the Action Card and made sure to select ExecuteEvent: 1 (for Event 1).

But when I played the scenario, exactly when I press the Play Action Card buttom, the game crashes. Pls HELP!!!!! Really appreciated.

Image
Attachments
1c.jpg
1c.jpg (65.45 KiB) Viewed 126 times
DK
User avatar
Vic
Posts: 9931
Joined: Mon May 17, 2004 2:17 pm
Contact:

RE: Newbie - Create Event Questions

Post by Vic »

I think you are causing an eternal loop.
 
If you play the card you execute an event that plays the card... that executes an event that plays the card... ad infinitum.
remove the execplayactioncard from the event (its meant to script action card playing for the AI) and it should work.
 
kind reg,
vic
 
Visit www.vrdesigns.net for the latest news, polls, screenshots and blogs on Shadow Empire, Decisive Campaigns and Advanced Tactics
dkong
Posts: 77
Joined: Tue Jun 24, 2008 9:30 pm

RE: Newbie - Create Event Questions

Post by dkong »

Thanks Vic!  It worked.
DK
User avatar
Vic
Posts: 9931
Joined: Mon May 17, 2004 2:17 pm
Contact:

RE: Newbie - Create Event Questions

Post by Vic »

no problem. scripting aint the easiest thing. so i am always happy to help.

exemplary illustrations to the question :) makes it very easy to answer.
Visit www.vrdesigns.net for the latest news, polls, screenshots and blogs on Shadow Empire, Decisive Campaigns and Advanced Tactics
Post Reply

Return to “Mods and Scenarios”