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: Pop up text and dialogue
Thread: Pop up text and dialogue
TheBaron
TheBaron


Promising
Known Hero
dreamer of dreams
posted November 21, 2020 12:06 AM

Pop up text and dialogue

Hi everyone,

Trying to speed up my learning here, as digging around in the documentation is a bit of a challenge.

Fairly simple goals - I'd like to display text (such as dialogue or a description of the environment) when a specific hero enters a tile or a region.

Once I know the syntax and content of that script, where do I then put it? I'm so used to the H3 editor and its triggers, the fact that I can't just place trigger objects wherever I want has me thinking a bit backwards.

Any help would greatly improve my ability to tell a scenario's story! TIA
____________
"My favorite" - Jean-
Baptiste Emmanuel Zorg.

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


Admirable
Legendary Hero
modding wizard
posted November 21, 2020 12:28 AM
Edited by magnomagus at 00:30, 21 Nov 2020.

oh hello, TheBaron, long time no see, I remember you from the old days!

the scripts have to be typed/pasted in the script editor in the map properties window, but unfortunately it is quite unstable and often crashes after closing. Therefore I recommend editing the lua file directly by opening the h5m file as zip archive (after it was created in the editor)

also make sure the ingame console is active for debugging
____________
MMH5.5 Downloads | MMH5.5 Translations | MMH5.5 FAQ

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