April 20, 2024, 01:40:19 AM

Username
Password

Pages: [1]   Go Down
Print
Author Topic: Victory over Black Grail does not count. why?  (Read 4019 times)
0 Members and 1 Guest are viewing this topic.
cuthalion
Campaign Creator
*
Offline Offline

Posts: 385


View Profile
« on: August 06, 2015, 08:22:07 AM »

I found a strange thing.

1. I change Black Grail to another unit in last but one mission (B4_10)
2. I win the battle, unit with Id = "Id of Black Grail" 257 is actually destroyed fully.
3. In after-battle screen I get message: Victory, Undead Forces Destroyed, Black Grail destroyed.
4. However if I go to last mission, that victory in b4_10 does not count, and Black Grail is present in last battle.

If I did not change Black Grail to another unit, then everything foes fine: Black Grail is counted as defeated and is not present in last mission.
Any idea what else (except unit id=257) is checked by Dark Omen? Maybe portrait of a Black Grail Knight? or what?.
Logged
Ghabry
Developer
*
Offline Offline

Posts: 1020



View Profile
« Reply #1 on: November 14, 2015, 10:31:25 PM »

A quick check says that unit_id 257 is the checked objective... so no idea :/

Can be also confirmed in WHMTG script:

CheckObjective 9
IF == 1
    SetVariable var_09 1
ENDIF

And this var_09 is checked in black pyramide level then...
Logged

Pages: [1]   Go Up
Print
Jump to: