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 3.5 - WoG and Beyond > Thread: Scripting
Thread: Scripting This thread is 2 pages long: 1 2 · «PREV
fnord
fnord


Promising
Famous Hero
posted November 02, 2003 12:39 AM

Quote:

The UN:I command places objects based on the lower left corner of the white rectangle that you see around an object if you place it on a map in the editor and click on it. However, the OB trigger works on an object's yellow trigger square. So the two aren't necessarily the same.



Sorry, that should say "lower right corner of the white rectange" rather than "lower left corner".


____________

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

Tavern Dweller
posted November 02, 2003 04:26 PM

i know about triggering using type of object, the problem was with the coordinates. how can i make another messages in the menu of the player? i mean for example when i click on the spell book, the first message is a list of my own spells. you know, spells is what i like the best, so making a new one would be very fine idea.
____________

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


Promising
Famous Hero
posted November 02, 2003 09:04 PM

Quote:
i know about triggering using type of object, the problem was with the coordinates. how can i make another messages in the menu of the player? i mean for example when i click on the spell book, the first message is a list of my own spells. you know, spells is what i like the best, so making a new one would be very fine idea.


Okay, if you're talking about the Hero screen here, then you need to use a mouse click for the Hero screen (!?CM2 and then use the !!CM:I; command to check if the spell book has been clicked on. Check the CM:I command on the CM receiver page for a listing of all items in the Hero screen (the spell book is 19 in the single screen but has a different number in the Hero Meeting screen -- and the Hero Meeting also uses !?CM3; rather then !?CM2.

If you want to check if it's a left or right-click, you can use the CM:S command for the subtype of the click: 14=right, 12=left).

After you determine that the spell book was clicked, display the list with one or more !!IF commands.


____________

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

Tavern Dweller
posted November 03, 2003 04:25 PM

could you tell me, where can i get the newest erm_help ? my 3.57f has nothing like that in it. i have to use the older 3.56 version. thanks!
____________

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


Promising
Famous Hero
posted November 03, 2003 11:05 PM

Quote:
could you tell me, where can i get the newest erm_help ? my 3.57f has nothing like that in it. i have to use the older 3.56 version. thanks!


3.57f has the ERM scripter and ERM Help in a separate download file (called ERM Tools) to reduce the file size because a lot of people just play the game or make maps with the new objects and creatures and aren't interested in scripting. It's on the WoG download page (just below the main 3.57f install).

http://strategyplanet.com/homm/wog/download.shtml


____________

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

Tavern Dweller
posted November 04, 2003 11:51 AM

thanks! now i don't need any help (for a while, of course).
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread » This thread is 2 pages long: 1 2 · «PREV
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0330 seconds