A few questions

RAMunch

New Member
Joined
Dec 25, 2004
Messages
4
Reaction score
0
Alright I've looked through the FAQs and Tutorials, a TON of helpful information on them. I'd like to thank everyone that put them together as you guys have helped me greatly in my quest to learn to use this damn editor.

I'm making a map (of course) same in style as DOTA allstars.(guinsoos version). I'm not wanting to unencrypt his map just to take a few triggers becuase then i'd be tempted to take them all and where is the fun in making a map in that.

So these are the things I need help with.

QUESTON1 : In the DOTA map when you start the game and everyone is logging into it, it has it divided into two "forces" of which the first player of each force, player 1 and player 7 are controlled by the computer, and everyone else is set to race NE/Undead depending on which force they are in.

I thought that this would be easy. Went to the edit forces option. (scenario->force properties). I moved everyone around to the correct force, renamed each force. Then I went to the first tab on that screen and set the first one to be Human/Computer and the 7th one to be Orc/Computer. The rest are set to Human/User and Orc/User respectively. When I start a game it has it divided into forces but the player 1 and player 7 aren't computer control automatically.

What am I missing?


QUESTION 2: I made new buildings that work like taverns. Put new heros in them that i've started making. Problem. In order for all players of a side to use a building i made it neutral passive. But now you need to have a unit close to the building in order to use it. DOTA you just pick it and your hero appears and done. How is he getting around this need for something to be close to the tavern in order to use it?

QUESTION 3:
How do I remove a hero from a tavern after it's been chosen?

FINAL QUESTION:
I've noticed that icons for hero abilties are placed according to a 2dimensional array setup. Most arrays in most languages start at index of 0. (i.e. so an array with 3 items is index 0..2). I thought this was the case and it seems to work, but when reading a tutorial on here about arrays in all the examples they started indexing at 1. Is it just 0 in the WE, but if actually using it in a trigger it indexs at 1?

Thanks for all the help in advance, you'll probably be seeing me alot around here! :)
 

RAMunch

New Member
Joined
Dec 25, 2004
Messages
4
Reaction score
0
Okay thanks for pointing out those little circles, that makes that more manageable.

Again thanks for the help!
 
B

Bladerunner243

you have to fix your player settings in order to keep the comps player 1 and 7 its a little box you can check in the forces window
 

RAMunch

New Member
Joined
Dec 25, 2004
Messages
4
Reaction score
0
Doh! Thanks! that makes sense :p
I appreciate the help.

I have a question to add to the list.
I changed the max level to 25 for heros
but even at level 25 they only have 24 points to spend...is there something wrong?
I checked this by uping the xp so that way 1 kill would takethem to max
start off with 1 points, spend it. Then kill 1 thing, now i have 23pts to spend. Which is a total of only 24, where'd the other point go?
 

tassadar920

Member!
Joined
May 18, 2003
Messages
2,048
Reaction score
0
Location
My house
FINAL QUESTION:
I've noticed that icons for hero abilties are placed according to a 2dimensional array setup. Most arrays in most languages start at index of 0. (i.e. so an array with 3 items is index 0..2). I thought this was the case and it seems to work, but when reading a tutorial on here about arrays in all the examples they started indexing at 1. Is it just 0 in the WE, but if actually using it in a trigger it indexs at 1?
Not sure, but my best guess is that yes that's how it works. Either way in triggers when do you use an array that would have anything to do with ability positions?

For your other question... you should have 25 points for 25 levels, but if you don't just up it :p
 

RAMunch

New Member
Joined
Dec 25, 2004
Messages
4
Reaction score
0
well it displays they are 25, with less points. Didn't know if I had something set wrong somewhere.

I'd hate to just up the max levels, sincce then it will display 27 for them to have 25 pts...hmm...

I'm sure i'm missing something, just can't figure out what.

There is a Stat-Level line in a hero object. I've changed this to 25 thinking that it would then start it at 25 so i could check the abilities...but it starts them at 1. What does this line actually do?
 

tassadar920

Member!
Joined
May 18, 2003
Messages
2,048
Reaction score
0
Location
My house
It's really weird that happens for you, I'm also working on an AoS (which fyi is the type of game you are making) My hero max level is 18, I have 4 spells with 4 levels each, and 1 spell with 2 levels. This works fine for me, so I think your missing something.

Stat-Level, let me check. Weird, mine are all set to "5"... and actually I have no idea what it's for.

Put it back to 5, see if that fixes anything.
 

NewPosts

New threads

Top