Search found 26 matches

by GohozoqPohobo
01 Jan 2008, 05:01
Forum: Mapmaking Guild
Topic: Day to Day scripts.
Replies: 10
Views: 4005

This is all of it. playerOneHero = GetPlayerHeroes(PLAYER_1)[0]; playerTwoHero = GetPlayerHeroes(PLAYER_2)[0]; playerThreeHero = GetPlayerHeroes(PLAYER_3)[0]; playerFourHero = GetPlayerHeroes(PLAYER_4)[0]; for i = 1, 6, 1 do --do for player (this assumes eight players) MakeHeroReturnToTavernAfterDea...
by GohozoqPohobo
29 Dec 2007, 06:50
Forum: Mapmaking Guild
Topic: Day to Day scripts.
Replies: 10
Views: 4005

Ok, the code is supposed to, on each day, give specific heroes XP function powerIncrease () ChangeHeroStat(playerOneHero, STAT_EXPERIENCE, GetHeroStat(playerOneHero, STAT_EXPERIENCE)+3000); ChangeHeroStat(playerTwoHero, STAT_EXPERIENCE, GetHeroStat(playerTwoHero, STAT_EXPERIENCE)+3000); ChangeHeroSt...
by GohozoqPohobo
24 Nov 2007, 19:33
Forum: Mapmaking Guild
Topic: Day to Day scripts.
Replies: 10
Views: 4005

Sorry, Pitsu, I thought it was sufficiently different.
I'll be more mindful in the future.
by GohozoqPohobo
22 Nov 2007, 17:56
Forum: Mapmaking Guild
Topic: Day to Day scripts.
Replies: 10
Views: 4005

What I meant was "What if it happens each level?" Separate case "What if it happens each day?" At any rate, I've almost got it, I think. What I'm missing is the code inside the function. I don't know how to pass the name of the hero that just leveled up. I want each of the player...
by GohozoqPohobo
22 Nov 2007, 02:09
Forum: Mapmaking Guild
Topic: Day to Day scripts.
Replies: 10
Views: 4005

Sorry.
I always take it to granted that everyone's going to be playing heroes 5.
by GohozoqPohobo
21 Nov 2007, 01:28
Forum: Mapmaking Guild
Topic: Day to Day scripts.
Replies: 10
Views: 4005

Day to Day scripts.

I'm having trouble reading the way the triggers work.
Presume I wanted to have a trigger that went off whenever the player's first hero gained a level.
What if I wanted it to happen every day?
by GohozoqPohobo
20 Nov 2007, 16:32
Forum: Mapmaking Guild
Topic: Experience Incentive
Replies: 4
Views: 1951

I assumed I would need a script, but I can't find the required functions.
by GohozoqPohobo
19 Nov 2007, 23:44
Forum: Mapmaking Guild
Topic: Experience Incentive
Replies: 4
Views: 1951

Experience Incentive

I was scanning the pdf and can't seem to find what I'm looking for. I want there to be incentive to capture towns and, moreover, I want it to be experience. So the first time you capture a specific enemy town, the hero that did it, gains 5xp (for the sake of argument). There is something like this i...
by GohozoqPohobo
13 Nov 2007, 05:17
Forum: Mapmaking Guild
Topic: Linked heroes
Replies: 10
Views: 4277

It's working perfectly for the first player, and for that I am thankful. With a little more work, I got it working for everyone. Thank you very much. The last questions I have are these: How do I post messages to the screen to go along with the events? Can I bind artifacts in such a way that the her...
by GohozoqPohobo
13 Nov 2007, 03:19
Forum: Mapmaking Guild
Topic: Linked heroes
Replies: 10
Views: 4277

I'm still getting Function MakeHeroReturnToTaverernAfterDeath not defined, line 30. and Function TownOneFront not defined, line 142 Beyond that... I've placed the regions you mentioned. As far as the obstacles, can I not just make the region large enough that it's impossible to leave the castle with...
by GohozoqPohobo
13 Nov 2007, 02:19
Forum: Mapmaking Guild
Topic: Linked heroes
Replies: 10
Views: 4277

I just tried taking it apart and getting the free-level parts to work, and now I can't even get the globals to initialize.

They call them functions that aren't defined.
by GohozoqPohobo
12 Nov 2007, 16:11
Forum: Mapmaking Guild
Topic: Linked heroes
Replies: 10
Views: 4277

Something went wrong. Now the free levels don't even work. Here's what I've got. I tried declaring the globals before and after the first loop, to no avail. for i = 1, 8, 1 do --do for player (this assumes eight players) ChangeHeroStat (GetPlayerHeroes(i)[0], STAT_EXPERIENCE, 200000); MakeHeroReturn...
by GohozoqPohobo
11 Nov 2007, 23:58
Forum: Mapmaking Guild
Topic: Linked heroes
Replies: 10
Views: 4277

I'm certain I'm doing something wrong. It says the function "MakeHeroReturnToTavernAfterDeath not defined." Please enlighten me. In the same vein, I want the player's 2nd hero (i.e., the first one they hire from the tavern, or perhaps the first one that leaves the town, not including the s...
by GohozoqPohobo
11 Nov 2007, 03:47
Forum: Mapmaking Guild
Topic: Where are the official maps (H5)
Replies: 5
Views: 3132

Much obliged
by GohozoqPohobo
10 Nov 2007, 18:17
Forum: Mapmaking Guild
Topic: Where are the official maps (H5)
Replies: 5
Views: 3132

Where are the official maps (H5)

I can't seem to find the official maps anywhere on my computer. This would lead me to think that they, in fact, are not to be found, but I saw someone with a download able version of Warlords, and I presume he did not remake it. Are they hidden somewhere, or did this nice person really have to remak...
by GohozoqPohobo
09 Nov 2007, 04:38
Forum: Mapmaking Guild
Topic: Linked heroes
Replies: 10
Views: 4277

Linked heroes

I'm trying to make a map where everyone has a 'special hero.'
The hero can die, but it will always be in the tavern and, further, nobody else can recruit him while that player lives.

Can I do that?
by GohozoqPohobo
05 Nov 2007, 02:37
Forum: Mapmaking Guild
Topic: Events and Free Levels (H5)
Replies: 6
Views: 2514

Thanks a good deal.
I'm having a hard time reading some of the manuals. It's like they were written in some other language and then translated... poorly.
by GohozoqPohobo
04 Nov 2007, 16:06
Forum: Mapmaking Guild
Topic: Events and Free Levels (H5)
Replies: 6
Views: 2514

Awesome, that worked perfectly.
I'm trying, now, to have events specific to which faction each player chooses.
For instance, if he's a necromancer, he receives bonus X, which knights receive bonus Y.
What function returns faction type?
by GohozoqPohobo
03 Nov 2007, 20:23
Forum: Mapmaking Guild
Topic: Events and Free Levels (H5)
Replies: 6
Views: 2514

I have a little coding experience, but I'm still struggling.
What do you mean "place an area?"
My first try is going to be on warlords.
Presume I wish each hero to start at 7th level.
by GohozoqPohobo
21 Oct 2007, 18:14
Forum: Heroes V-VI
Topic: So how do I get a Cyclops to make a melee attack?
Replies: 3
Views: 3681

I had the exact same problem. Thanks

Go to advanced search