Forum Archive. A read-only snapshot of the Warfare Incorporated forums (2003–2020), preserved for historical purposes.  ·  warfareincorporated.com
Warfare Incorporated Forum

PVAR within objectives
Author Message
LawrenceA
Administrator


Joined: 15 Feb 2010
Posts: 1135
Location: New Zealand
 Post Posted: Fri Sep 17, 2010 2:39 am  Post subject: PVAR within objectives

does anyone know how to put a PVAR in an objective?
i.e. whenever a particular PVAR changes the value can be seen changed aswell in the top left corner.
I want to make a mission where for every time you die, you get 1 added to your side PVAR and each sides PVAR count will be visible in the top left corner.
dkrasnove
Very Active User
Joined: 25 Dec 2010
Posts: 188
Location: United States
 Post Posted: Mon Dec 27, 2010 1:45 pm  Post subject: Re: PVAR within objectives

LawrenceA wrote:
does anyone know how to put a PVAR in an objective?
i.e. whenever a particular PVAR changes the value can be seen changed aswell in the top left corner.
I want to make a mission where for every time you die, you get 1 added to your side PVAR and each sides PVAR count will be visible in the top left corner.


In a new Set Objective action:
Set Side1's mission objective to "Number of Deaths: {Side1DeathCount}"

Create a DeathCount PVAR for each side and you should be good.
LawrenceA
Administrator


Joined: 15 Feb 2010
Posts: 1135
Location: New Zealand
 Post Posted: Fri Dec 31, 2010 3:51 pm  

thanks Dkrasnove

I did make a map based on this concept and it worked well but is unfortunately deleted now.

I think in the map each side had one unit, and when this unit died another spawned and a pvar relative to the units side would increase by one.
I had to refresh the objectives constantly though as they don't change with the pvars.

and yes to put pvars in mission text you can type curly brackets {} around the name of the pvar which can be almost anything.