Search found 362 matches
- 26 Jul 2011, 04:53
- Forum: Mapmaking Guild
- Topic: Variable "doesn't exits"
- Replies: 1
- Views: 3875
Array constants like these exVar[9]={0,0,0,0,0,0,0,0,0}; should look like exVar={0,0,0,0,0,0,0,0,0}; In-game constants like PLAYER_1 should NOT be taken in '. Your function here function infiniteTurn(set) local enabled=0; if set~=nil then enabled=1; while not nil do if enabled==1 then for i=1,8 do c...
- 27 Jan 2011, 21:14
- Forum: Mapmaking Guild
- Topic: Scripting help for heroes 5 required please! :)
- Replies: 6
- Views: 7025
- 05 Jan 2011, 07:18
- Forum: Mapmaking Guild
- Topic: Some map-making questions
- Replies: 2
- Views: 4018
1. RTFM. It's in there. Called Mask. 2. Can be done with a script. 3. Place a monster, then add stacks to it in its properties. 4. Yes! You can even use your own picture! See proiperties tree. (Ctrl+Space). 5. Again, properties tree. It's in there. 6. Yet again, it's in properties tree. Read the man...
- 18 Dec 2010, 09:08
- Forum: Mapmaking Guild
- Topic: [H5 EDITOR] Troubleshooting topic
- Replies: 579
- Views: 239726
- 07 Dec 2010, 05:38
- Forum: Mapmaking Guild
- Topic: [H5 EDITOR] Troubleshooting topic
- Replies: 579
- Views: 239726
- 06 Dec 2010, 21:19
- Forum: Mapmaking Guild
- Topic: [H5 EDITOR] Troubleshooting topic
- Replies: 579
- Views: 239726
The trigger works with town alright, problem is elsewhere. You see, when a hero captures the town he automatically enters it. And when a hero enters a town, he is removed from the map and the list of currect objects. So you can not enteract with him, that's why giving him an artifact doesn't work :)...
- 04 Dec 2010, 21:23
- Forum: Mapmaking Guild
- Topic: Another script help
- Replies: 14
- Views: 9885
- 03 Dec 2010, 18:24
- Forum: Mapmaking Guild
- Topic: [H5 EDITOR] Troubleshooting topic
- Replies: 579
- Views: 239726
- 02 Dec 2010, 20:40
- Forum: Mapmaking Guild
- Topic: [H5 EDITOR] Troubleshooting topic
- Replies: 579
- Views: 239726
- 02 Dec 2010, 20:38
- Forum: Mapmaking Guild
- Topic: [H5 EDITOR] Troubleshooting topic
- Replies: 579
- Views: 239726
- 02 Dec 2010, 20:35
- Forum: Mapmaking Guild
- Topic: Another script help
- Replies: 14
- Views: 9885
- 28 Nov 2010, 21:44
- Forum: Mapmaking Guild
- Topic: [H5 EDITOR] Troubleshooting topic
- Replies: 579
- Views: 239726
- 10 Nov 2010, 20:37
- Forum: Mapmaking Guild
- Topic: Another script help
- Replies: 14
- Views: 9885
- 09 Nov 2010, 19:34
- Forum: Mapmaking Guild
- Topic: Another script help
- Replies: 14
- Views: 9885
- 08 Nov 2010, 19:11
- Forum: Mapmaking Guild
- Topic: Another script help
- Replies: 14
- Views: 9885
arts={10,21,15,......} -- place here artifacts ids your hero needs to collect function checkartifacts(hero) --returns 1 if hero has all the required artifacts. for i=1,length(arts) do if not HasArtefact(hero,ars ) then return(0); end return(1); end; --Then you need to call that function, say, at the...
- 03 Nov 2010, 05:13
- Forum: Mapmaking Guild
- Topic: TOTE 3.1 Script issue
- Replies: 4
- Views: 3953
Well, there could be problems if the game is installed to a directory which name contains non-standard English symbols, cyrillic for example, or symbols from extended alphabet. Also, game data may be simply corrupted. They should try reinstalling the game. Also, if everything works fine except for t...
- 01 Nov 2010, 17:51
- Forum: Mapmaking Guild
- Topic: TOTE 3.1 Script issue
- Replies: 4
- Views: 3953
- 01 Oct 2010, 05:50
- Forum: Mapmaking Guild
- Topic: Spawning main heroes
- Replies: 110
- Views: 41296
OK, here is the list of combat functions (original game only, in patches a few were added) Hooks (caled at different battle stages): bool DoPrepare() - when players place troops on the battlefield bool DoStart() - right after placement phase before anyone moves bool UnitMove(sUnitName) - right befor...
- 27 Sep 2010, 17:32
- Forum: Mapmaking Guild
- Topic: Spawning main heroes
- Replies: 110
- Views: 41296
- 26 Sep 2010, 17:57
- Forum: Mapmaking Guild
- Topic: Spawning main heroes
- Replies: 110
- Views: 41296