Create account / Log in

LocationName vs pieceName

Issues with the Vassal engine.

Moderators: Tim M, uckelman

LocationName vs pieceName

Postby Quique1815 » August 25th, 2019, 4:28 pm

I'm improving a Vassal module for a CDG called Congressof Vienna (1813-1814 Napoleonic Wars in Europe)

I have a piece called <Armee d'Espagne>. I have another piece called <Castile VPs>, which I want to go to level 1 (from level 0) when the <Armee d'Espagne> moves out of a zone called <CastileTerritory>

The condition that I have put in an appropriate layer in <CastileVPs> piece it is the following:

If (GetProperty ("Armee d'Espagne_LocationName")! = "CastileTerritory", 0, 1)

But it does not work!!!; I tried with / without ""; $; _; .; , etc.

As you can see my level of Vassal is low, but I trust a help for my low level.

Thank you

Quique Esparrago
Quique1815
 
Posts: 2
Joined: August 25th, 2019, 4:11 pm

Return to Technical Support & Bugs

Who is online

Users browsing this forum: No registered users and 6 guests