Finally got it to work, great fun.
I know this change affects it globally, I am wondering what I may have to edit so it checks agains't the health of my character so it would only affect it at that moment in time?
I only want this option when the commander dies.
Addition:
------------
I've been taking a look into a file called 'battlescript.csv', and I have noticed that there is a 'evtdeath' call that is made for particular commanders, am I looking in the right direction?
Instead of having an IDName of a particular (oob)commander, is there a call just for the player himself, no matter who he may pick to command?
I don't know if I am explaining this correctly.
Starting Small
-
- Reactions:
- Posts: 4358
- Joined: Fri Jan 08, 2010 8:15 am
Re:Starting Small
Last edited by Michael Slaunwhite on Sat May 08, 2010 1:18 pm, edited 1 time in total.
Re:Starting Small
If you are designing a scenario, you must specify who the player commander is in the scenario.ini file. If you have the evtdeath command in the battlescript.csv the scenario will end if your player commander is killed. This does not apply to any other commander that you may have selected while you are playing the game. To have the scenario end if the player you have selected dies would require a change in coding.
-Jim
-Jim
"My God, if we've not got a cool brain and a big one too, to manage this affair, the nation is ruined forever." Unknown private, 14th Vermont, 2 July 1863