Search found 362 matches
- 29 Aug 2010, 12:51
- Forum: Mapmaking Guild
- Topic: Spawning main heroes
- Replies: 110
- Views: 39459
- 29 Aug 2010, 09:19
- Forum: Mapmaking Guild
- Topic: Spawning main heroes
- Replies: 110
- Views: 39459
- 28 Aug 2010, 12:44
- Forum: Mapmaking Guild
- Topic: Spawning main heroes
- Replies: 110
- Views: 39459
- 27 Aug 2010, 17:34
- Forum: Mapmaking Guild
- Topic: Spawning main heroes
- Replies: 110
- Views: 39459
- 25 Aug 2010, 17:38
- Forum: Mapmaking Guild
- Topic: Spawning main heroes
- Replies: 110
- Views: 39459
- 25 Aug 2010, 04:11
- Forum: Mapmaking Guild
- Topic: [H5 EDITOR] Troubleshooting topic
- Replies: 579
- Views: 224716
- 24 Aug 2010, 19:34
- Forum: Mapmaking Guild
- Topic: Spawning main heroes
- Replies: 110
- Views: 39459
Yeah, that can be done. You need to write a special combat script for your hero. Take a look at my map Mercenaries, the main hero there can get an ability to cast various spells in the beginning of the battle (like the armor of the damned in Homm3). Look for key words SetHeroCombatScript and SetGame...
- 24 Aug 2010, 19:31
- Forum: Mapmaking Guild
- Topic: [H5 EDITOR] Troubleshooting topic
- Replies: 579
- Views: 224716
- 23 Aug 2010, 19:45
- Forum: Mapmaking Guild
- Topic: Spawning main heroes
- Replies: 110
- Views: 39459
- 23 Aug 2010, 03:36
- Forum: Mapmaking Guild
- Topic: [H5 EDITOR] Troubleshooting topic
- Replies: 579
- Views: 224716
- 22 Aug 2010, 17:26
- Forum: Mapmaking Guild
- Topic: MakeHeroReturnToTavernAfterDeath
- Replies: 10
- Views: 6063
- 22 Aug 2010, 17:24
- Forum: Mapmaking Guild
- Topic: Spawning main heroes
- Replies: 110
- Views: 39459
- 22 Aug 2010, 17:21
- Forum: Mapmaking Guild
- Topic: [H5 EDITOR] Troubleshooting topic
- Replies: 579
- Views: 224716
- 19 Aug 2010, 17:43
- Forum: Mapmaking Guild
- Topic: [H5 EDITOR] Troubleshooting topic
- Replies: 579
- Views: 224716
- 18 Aug 2010, 21:17
- Forum: Mapmaking Guild
- Topic: [H5 EDITOR] Troubleshooting topic
- Replies: 579
- Views: 224716
Remember, triggers pass various useful info to trigger handlers. So you can write: function addstufftonewguy(newguy) GiveArtefact(newguy, 4); GiveHeroWarMachine(newguy, 1); GiveHeroWarMachine(newguy, 3); GiveHeroWarMachine(newguy, 4); end; Trigger(PLAYER_ADD_HERO_TRIGGER,PLAYER_1,'addstufftonewguy');
- 17 Aug 2010, 17:51
- Forum: Mapmaking Guild
- Topic: [H5 EDITOR] Troubleshooting topic
- Replies: 579
- Views: 224716
As for your other questions: for 1 = 1, 1 do will generate an error I believe you meant something like for i=1,1 do This will run 1 time. for i=1,0 do will run 0 times. Did not understand you 3d question. Is it a suggestion? Also, day counting starts from 1, not 0. P.S. To save you from a common mis...
- 17 Aug 2010, 17:47
- Forum: Mapmaking Guild
- Topic: [H5 EDITOR] Troubleshooting topic
- Replies: 579
- Views: 224716
The script is executed ONCE right after the map is created BEFORE any player moves. To execute a code on a certain day or event, use triggers. For the new turn (day) trigger use NEW_DAY_TRIGGER. This trigger triggers when the new turn is started by the first player. There is no trigger for the end o...
- 15 Aug 2010, 20:26
- Forum: Mapmaking Guild
- Topic: [H5 EDITOR] Troubleshooting topic
- Replies: 579
- Views: 224716
- 15 Aug 2010, 14:54
- Forum: Mapmaking Guild
- Topic: Spawning main heroes
- Replies: 110
- Views: 39459
- 14 Aug 2010, 19:51
- Forum: Mapmaking Guild
- Topic: Spawning main heroes
- Replies: 110
- Views: 39459