Hi all,
would anyone be so kind as to walk me through enabling the above as the condition for winning a map? I can't for the life of me figure out how to enable this, or any other special victory conditions in the map editor.
Thanks for the help.
Build the Grail - HoMM IV victory condition?
- Metathron
- Round Table Hero
- Posts: 2704
- Joined: 29 Jan 2006
- Location: Somewhere deep in the Caribbean...
- Contact:
Build the Grail - HoMM IV victory condition?
Jesus saves, Allah forgives, Cthulhu thinks you'd make a nice sandwich.
- iLiVeInAbOx05
- Equilibris Team
- Posts: 788
- Joined: 21 Jul 2014
Re: Build the Grail - HoMM IV victory condition?
I don't think there is anything specific like that in the editor. You probably need to do a test if player has structure (grail), then victory. Might be best under continuous scripts if you can add the check there.
Been a little while since I've used the editor, so that's all I can think of right now.
Been a little while since I've used the editor, so that's all I can think of right now.
- iLiVeInAbOx05
- Equilibris Team
- Posts: 788
- Joined: 21 Jul 2014
Re: Build the Grail - HoMM IV victory condition?
I just looked through a list of most* of the H4 scripts available here, and I don't see anything about checking for a structure, so you may have to come up with something creative if there isn't a way to enable this through the editor (might be a checkbox hiding in one of the menus).
- Metathron
- Round Table Hero
- Posts: 2704
- Joined: 29 Jan 2006
- Location: Somewhere deep in the Caribbean...
- Contact:
Re: Build the Grail - HoMM IV victory condition?
Ouch! For all the capabilities of the HoMM IV editor, you'd expect a variety of victory conditions to be available from a drop-down menu (like it was in HoMM II, for example), but no such luck. Too bad.
Jesus saves, Allah forgives, Cthulhu thinks you'd make a nice sandwich.
- iLiVeInAbOx05
- Equilibris Team
- Posts: 788
- Joined: 21 Jul 2014
Re: Build the Grail - HoMM IV victory condition?
I'll try to open up the Editor tonight and have a look. There should be SOMETHING there that you can do.
Karmakeld might have some ideas.
Karmakeld might have some ideas.
Re: Build the Grail - HoMM IV victory condition?
Unfortunately there is no script in the town menu or elsewhere that checks for a specific structure; so to the best of my knowledge, setting it as a victory condition can't be done.
Mala Ipsa Nova ![bugsquash :bugsquash:](/forums/images/smilies/bug_squash.gif)
![bugsquash :bugsquash:](/forums/images/smilies/bug_squash.gif)
- iLiVeInAbOx05
- Equilibris Team
- Posts: 788
- Joined: 21 Jul 2014
Re: Build the Grail - HoMM IV victory condition?
You could potentially check if a hero at a certain town has the grail in their possession, and set victory that way, no? Then the victory condition would be to bring the grail to a specific town.
There is a "has artifact" script which will let you select the type of artifact to check for.
There is a "has artifact" script which will let you select the type of artifact to check for.
Re: Build the Grail - HoMM IV victory condition?
Is he asking about the Grail artifact, which yes could be done with the check artifact. But I thought he was asking about building the grail structure such as the Holy Avatar which would require a check if has building script and that doesn't exist.
Mala Ipsa Nova ![bugsquash :bugsquash:](/forums/images/smilies/bug_squash.gif)
![bugsquash :bugsquash:](/forums/images/smilies/bug_squash.gif)
Re: Build the Grail - HoMM IV victory condition?
bear in mind this build the Grail is the main condition of Tawni's Chaos campaign map 3 The Strait of the Lost by the NWC, I have uploaded that map for you so you may see how it was done (basically exactly how iLiVeInAbOx05 suggested) lol
check the town Rumport (middle town) and under Entered check the script, this triggers the variable if you have a Grail which so forth triggers the Continuous Event to win, it is the official way they handled this (no deeper check) cheers lol
check the town Rumport (middle town) and under Entered check the script, this triggers the variable if you have a Grail which so forth triggers the Continuous Event to win, it is the official way they handled this (no deeper check) cheers lol
- iLiVeInAbOx05
- Equilibris Team
- Posts: 788
- Joined: 21 Jul 2014
Re: Build the Grail - HoMM IV victory condition?
Yes, he did say when building the grail, but I was offering a work around to simulate that as a victory condition.jeff wrote:Is he asking about the Grail artifact, which yes could be done with the check artifact. But I thought he was asking about building the grail structure such as the Holy Avatar which would require a check if has building script and that doesn't exist.
Perfect, thanks for that!Erwinner wrote:bear in mind this build the Grail is the main condition of Tawni's Chaos campaign map 3 The Strait of the Lost by the NWC, I have uploaded that map for you so you may see how it was done (basically exactly how iLiVeInAbOx05 suggested) lol
check the town Rumport (middle town) and under Entered check the script, this triggers the variable if you have a Grail which so forth triggers the Continuous Event to win, it is the official way they handled this (no deeper check) cheers lol
Re: Build the Grail - HoMM IV victory condition?
Thanks for that I will look at how this is done as I am not aware of any condition you can set to check for a structure. So I hope to learn something; it would have made some of the scripts easier and the work arounds unnecessary.
Mala Ipsa Nova ![bugsquash :bugsquash:](/forums/images/smilies/bug_squash.gif)
![bugsquash :bugsquash:](/forums/images/smilies/bug_squash.gif)
Who is online
Users browsing this forum: No registered users and 1 guest