Is there an 'onexit' or 'onresign' event?

This is where our experts try to teach you the very flexible modding system for our previous release - SOW Gettysburg and its add-ons. It's powerful, but dangerous. Post your tips and your questions.
Post Reply
pakfront
Reactions:
Posts: 138
Joined: Tue Mar 17, 2009 3:24 am

Is there an 'onexit' or 'onresign' event?

Post by pakfront »

I'd like to trigger a dumplocs when the player quits the battle. Is there a way to do this?
Last edited by pakfront on Sat Dec 07, 2013 6:41 am, edited 1 time in total.
Davinci
Reactions:
Posts: 3034
Joined: Wed Jul 02, 2008 12:53 pm

Re: Is there an 'onexit' or 'onresign' event?

Post by Davinci »

I'd like to trigger a dumplocs when the player quits the battle. Is there a way to do this?
In the gscreens.csv file you have a resign and a closelevel on separate lines listed in the O Column , but I couldn't figure out how to get it to dumplocs from pressing those buttons.

I think that ADukes will probably be the only one that knows this information.

davinci
The only true logic is that, there is no true logic!
ADukes
Reactions:
Posts: 862
Joined: Mon Nov 26, 2007 10:38 pm

Re: Is there an 'onexit' or 'onresign' event?

Post by ADukes »

Just add a separate command to one of the end screens:
COMMAND,,,,,,,,,,,,,,dumplocs
Davinci
Reactions:
Posts: 3034
Joined: Wed Jul 02, 2008 12:53 pm

Re: Is there an 'onexit' or 'onresign' event?

Post by Davinci »

Just add a separate command to one of the end screens:
COMMAND,,,,,,,,,,,,,,dumplocs
I knew that You would know the answer here.

I was trying to add the L with the COMMAND, I didn't think of using the whole word.

davinci
The only true logic is that, there is no true logic!
Post Reply