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: Some map scripting help
Thread: Some map scripting help
naadirslo
naadirslo


Hired Hero
posted March 19, 2010 04:14 PM

Some map scripting help

I'd like to know how could I script the Sphinx to teleport you somewhere if you answer right?

And second if i create a region, what's the script to make the team win if someone steps in there?

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Warmonger
Warmonger


Promising
Legendary Hero
fallen artist
posted March 19, 2010 05:00 PM
Edited by Warmonger at 17:01, 19 Mar 2010.

You can't modify original behaviour, you need to write entire function from scratch and disable the default.

Quote:
And second if i create a region, what's the script to make the team win if someone steps in there?

Isn't there just Win() function?
____________
The future of Heroes 3 is here!

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
naadirslo
naadirslo


Hired Hero
posted March 20, 2010 08:13 AM

So what aboutsome kind to teleport you there anyway, then if you answer wrong you get to fight the sphinx army if you answer right it's ok?

What about the Win(), do i have to write the if hero(hero...) or what?

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Elvin
Elvin


Admirable
Omnipresent Hero
Endless Revival
posted March 20, 2010 09:42 AM

Maybe the modder's workshop is a better place to find people who know about scripts. You are out of luck, Asheera had a pretty good knowledge on them but she's not around anymore.
____________
H5 is still alive and kicking, join us in the Duel Map discord server!
Map also hosted on Moddb

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
naadirslo
naadirslo


Hired Hero
posted March 20, 2010 03:41 PM

can some moderator od admin mode this there pls? I thought that it's not quite about moding, but ok.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Cepheus
Cepheus


Honorable
Legendary Hero
Far-flung Keeper
posted March 20, 2010 04:03 PM

Consider asking at Celestial Heavens' mapmaking forum. Franzy is the God of scripting, but he only posts there.
____________
"Those who forget their history are inevitably doomed to repeat it." —Proverb, Might and Magic VIII

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread »
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0170 seconds