Newbie - Create Event Questions (Full Version)

All Forums >> [New Releases from Matrix Games] >> Advanced Tactics Series >> Mods and Scenarios



Message


dkong -> Newbie - Create Event Questions (7/7/2008 10:42:02 PM)

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]local://upfiles/29541/AE33F0888C1942D19546016583BC7D39.jpg[/image]




dkong -> RE: Newbie - Create Event Questions (7/7/2008 10:43:22 PM)

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

[image]local://upfiles/29541/761A76B7C41B46D899A2B6FB46633288.jpg[/image]




dkong -> RE: Newbie - Create Event Questions (7/7/2008 10:44:45 PM)

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

[image]local://upfiles/29541/F4B56C4840314CA0962DF8685CAE8D41.jpg[/image]




dkong -> RE: Newbie - Create Event Questions (7/7/2008 10:46:26 PM)

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]local://upfiles/29541/D86EF6A277E54091878CEC53FAFD8A6E.jpg[/image]




Vic -> RE: Newbie - Create Event Questions (7/8/2008 3:07:02 PM)

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




dkong -> RE: Newbie - Create Event Questions (7/8/2008 4:06:31 PM)

Thanks Vic!  It worked.




Vic -> RE: Newbie - Create Event Questions (7/8/2008 5:48:37 PM)

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.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.71875