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 > Library of Enlightenment > Thread: Asking for ERM help...
Thread: Asking for ERM help...
Holy_Servant
Holy_Servant

Tavern Dweller
Can servants even be holy? :P
posted December 07, 2014 06:37 PM

Asking for ERM help...

Hello.

I am currently making a map with the latest version of ERA 2 and I plan on adding some ERM scripts. However I'm really bad at it and it's really hard for me to understand, so I would really appreciate if anyone would:

- Explain ERM to me as detailed as possible (As if you were explaining to a baby).

- Write me the following scripts: turn a monsters/objects properties into a seer's hut, teleportation from one place to another, disappearance/appearance of an object after a quest/monster defeated etc., have a creature dwelling other creatures for hire.

I am not demanding any of this, just asking for help.

P.S. I know some of the basics of ERM like triggers, receivers etc. I'm just not exactly sure when to place them.

Thanks in advance!
____________
Hero of Light mod - Best HoMM
3 mod EVER!!!

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


Known Hero
posted December 07, 2014 07:59 PM

Well, knowledge "when" to place something is quite important.

To start with, maybe you know it, but it's still worth mentioning: all erm scripts I know of(though I am not an expert) have general form of:

Trigger
Receiver1
Receiver2
...
ReceiverN

Where receivers are what you do and trigger is when you do it. The trick is usually figuring out when exactly you want something to happen and how to make the commands you use do it properly.

For part about seer hut and dwellings stating when it should trigger is fairly easy: every time a given object is visited. You can add a flag for seer part to check if you got a quest reward already.

The other two things you mention have less obvious timings, but again, a teleportation or disappearance of whatever you want would need to happen after a certain thing is done by the player. Depending on what it would be, you can need different triggers, but an easy way of dealing with it for a start is just putting an event in only path or an object necessary to visit and use  ?!E trigger with its coordinates.

There is a great guide that explains some basic things, and includes links to really useful tools. One file includes huge amount of ERM commands with documentation.

Baron's guide to ERM

Feel free to send me a pm if you need some knowledge about basic stuff, or to post your questions on WoG part of the forum

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

Tavern Dweller
Can servants even be holy? :P
posted December 08, 2014 03:29 PM

Thanks for the reply!

I'll be sure to read the guide you gave me the link to (and maybe play around with ERM a bit until I understand how this works). I'll pm you if I'll be having some troubles.

Thanks for the help!
____________
Hero of Light mod - Best HoMM
3 mod EVER!!!

 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.0390 seconds