script for holding victory points at game end

Download scenarios and talk about scenario design.

Moderators: Slitherine Core, BA Moderators

Post Reply
Private duckweed

script for holding victory points at game end

Post 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:
IainMcNeil
Site Admin
Site Admin
Posts: 13558
Joined: Fri Apr 01, 2005 10:19 am

Re: script for holding victory points at game end

Post 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.
Private Duckweed

Re: script for holding victory points at game end

Post by Private Duckweed »

Thanks for the quick reply Iain, I'll do a bit more digging in other scenarios.
pipfromslitherine
Site Admin
Site Admin
Posts: 9937
Joined: Wed Mar 23, 2005 10:35 pm

Re: script for holding victory points at game end

Post 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
Private Duckweed

Re: script for holding victory points at game end

Post 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.
Post Reply

Return to “Battle Academy : Scenario Design”