Home   Help Search Login Register  

Author Topic: Savegame problem  (Read 657 times)

0 Members and 2 Guests are viewing this topic.

Offline Blanco

  • Former Staff
  • ****
Savegame problem
« on: 27 Feb 2005, 02:24:13 »
In my mission there are 3 teams, the player can choose in which team he gonna play and in what role.
Each team has it's own objectives and each time an objective's achieved the game saves with savegame.
The problem is when an AI team completes an objective the game save as well.
I don't understand, because I have a global variable situation in my init.sqs and I use that in my condition of my savegame trigger.

like this

eg :You play with team1
: situation = 1

Trigger objective1 team 1

(condition)
!alive etank && !alive MG42pit && situation == 1
(onactivation)
savegame

Now when team 2 (AI atm) completes his objective the game saves again...

Trigger objective1 team 2
the condition is :
!alive etank2 && !alive Mortarpit && situation == 2
(onactivation)
savegame

What am I doing wrong?



« Last Edit: 27 Feb 2005, 02:25:58 by Blanco »
Search or search or search before you ask.

Offline Blanco

  • Former Staff
  • ****
Re:Savegame problem
« Reply #1 on: 27 Feb 2005, 02:39:12 »
Ok, delete this, please.

It works now  :P, stupid me, there was another savegame command in a wp somewhere.





Search or search or search before you ask.