Page 1 of 1

script for holding victory points at game end

Posted: Thu Jun 07, 2012 7:21 am
by Private duckweed
I wonder if someone could help me with a script. I have set two neutral victory points 0 and 1 and need a script to allow a win if both are captured and held at the end of the game. :roll:

Re: script for holding victory points at game end

Posted: Thu Jun 07, 2012 9:50 am
by IainMcNeil
The best thing to do is look at scripts for other scenarios that have similar behaviour and borrow it from there. You have a number of steps such as changing the ownership when they are occupied, marking them on the map, showing who controls what in the UI display.

Alternatively use the plugins as they allow you to set this up in the game interface without any scripting - this allows simple things like you are looking for.

Re: script for holding victory points at game end

Posted: Thu Jun 07, 2012 2:15 pm
by Private Duckweed
Thanks for the quick reply Iain, I'll do a bit more digging in other scenarios.

Re: script for holding victory points at game end

Posted: Thu Jun 07, 2012 5:18 pm
by pipfromslitherine
I don't know off the top of my head, but the VP plugin would allow you to set up the VPs and have the player win if they capture them, or do you want more specific logic?

Cheers

Pip

Re: script for holding victory points at game end

Posted: Fri Jun 08, 2012 6:37 am
by Private Duckweed
New to scripting but keep learning slowly. Getting it wrong most times. Will hopefully get there today. If not I'll try to be specific about any remaining problems. Looking at some of the user created scripts there are some talented people. Fantastic game by the way.