Heroes of Might and Magic Community
visiting hero! Register | Today's Posts | Games | Search! | FAQ/Rules | AvatarList | MemberList | Profile


Age of Heroes Headlines:  
5 Oct 2016: Heroes VII development comes to an end.. - read more
6 Aug 2016: Troubled Heroes VII Expansion Release - read more
26 Apr 2016: Heroes VII XPack - Trial by Fire - Coming out in June! - read more
17 Apr 2016: Global Alternative Creatures MOD for H7 after 1.8 Patch! - read more
7 Mar 2016: Romero launches a Piano Sonata Album Kickstarter! - read more
19 Feb 2016: Heroes 5.5 RC6, Heroes VII patch 1.7 are out! - read more
13 Jan 2016: Horn of the Abyss 1.4 Available for Download! - read more
17 Dec 2015: Heroes 5.5 update, 1.6 out for H7 - read more
23 Nov 2015: H7 1.4 & 1.5 patches Released - read more
31 Oct 2015: First H7 patches are out, End of DoC development - read more
5 Oct 2016: Heroes VII development comes to an end.. - read more
[X] Remove Ads
LOGIN:     Username:     Password:         [ Register ]
HOMM1: info forum | HOMM2: info forum | HOMM3: info mods forum | HOMM4: info CTG forum | HOMM5: info mods forum | MMH6: wiki forum | MMH7: wiki forum
Heroes Community > Heroes 5 - Modders Workshop > Thread: Missions Object problem (started by NKidd in November 2010)
Missions Object problem
NKidd
NKidd

Tavern Dweller
posted November 18, 2010 05:55 PM

Missions Object problem

When i made a custom map, i got this problem

One of my Primary Object is kill the AI Hero. Well, u can just say that's so easy with Type Object DEFEAT_HERO, but problem is the hero i mention is a Reserve Hero (Deploy in DAY==36).

So if i choose DEFEAT_HERO object type --> the map can't start. Pls help me!!

 View Profile
markkur
markkur


Honorable
Legendary Hero
Once upon a time
posted November 18, 2010 08:16 PM
Edited by markkur at 20:16, 18 Nov 2010.

Quote:
When i made a custom map, i got this problem

One of my Primary Object is kill the AI Hero. Well, u can just say that's so easy with Type Object DEFEAT_HERO, but problem is the hero i mention is a Reserve Hero (Deploy in DAY==36).

So if i choose DEFEAT_HERO object type --> the map can't start. Pls help me!!


You know that the names for some heroes are different in the Editor...correct?
____________
"Do your own research"

 View Profile
NKidd
NKidd

Tavern Dweller
posted November 19, 2010 08:06 AM

Yeah, the AI Hero is Vittorio and his script name is "Christian"

I still couldn't solve this prob

I try to change object to KIND_MANUAL and use the script:

function Win(heroname)
if heroname == "Christian" then
Win(PLAYER_1);
end;
end;
Trigger(PLAYER_REMOVE_HERO_TRIGGER, PLAYER_2, "Win");

But nothing happen . Oh, holy shEEp *_*
____________

 View Profile
NKidd
NKidd

Tavern Dweller
posted November 19, 2010 09:26 AM

Well, no answer, and i find out the answer myself.

I set the objecttive is not InstantlyACtive and use script to set the activation when the Reserve Hero is appear. Maybe it useful for anyone get the same problem
____________

 View Profile
markkur
markkur


Honorable
Legendary Hero
Once upon a time
posted November 19, 2010 10:13 AM

Quote:
When i made a custom map, i got this problem

One of my Primary Object is kill the AI Hero. Well, u can just say that's so easy with Type Object DEFEAT_HERO, but problem is the hero i mention is a Reserve Hero (Deploy in DAY==36).

So if i choose DEFEAT_HERO object type --> the map can't start. Pls help me!!


Sorry I don't script. I'm offering this idea because no one else has tried to help yet. I've read quite a bit but I don't remember seeing what you are trying to do before. ofc I've not read all.

I have had map crash (at start). It was because I had my Objectives wrong. They could not be achieved with the settings I had. i.e. My player to win was not Human playable. I'd swtiched earlier and forgot.

Anwyay it "could be" that at the start; the Hero you want to be defeated is not on the map. Could be something that simple. If I am understanding correctly; Have you tried; leaving the objectives normal at start and  for day "37" writing the script for "change Objectives", since your "Hero to defeat" pops in on Day 36?

I don't know but am hoping my thoughts might trigger something you know or forgot. Good luck.
____________
"Do your own research"

 View Profile
NKidd
NKidd

Tavern Dweller
posted November 20, 2010 04:37 AM

That's exactly what i did Thanks anyway
____________

 View Profile
Jump To: « Prev Thread . . . Next Thread »
Post New Poll   Post New Topic   Post New Reply

Page compiled in 0.0244 seconds