| 12-30-2002, 12:20 AM | #1 |
Hi, first of all i'm new here, but not new to WCIII! I'm great at making maps (not the kind like Murder at the Mansion.) so give me a welcome & i will give help.8) |
| 12-30-2002, 12:32 AM | #2 |
Guest | what do boundaries do? |
| 12-30-2002, 04:13 AM | #3 | |
Quote:
|
| 12-30-2002, 02:10 PM | #4 |
when exactly IS map inialazation? |
| 12-30-2002, 02:14 PM | #5 |
I can answer this one, its when the map initializes. Lol. Oh ok its as soon as the map starts. now i have a question, what do the: "for each integer A, do action" and the "for each integer B, do action" do? |
| 12-30-2002, 02:16 PM | #6 |
acttaly map inialzation IS NOT at the beggining of the map thats why it screws dialogs and stuff when i play some maps the music changes or i hear a sound when it loads and i think thats map inialzation and i can answe your question for each integer A between 1 and 5 do create unit at random spot would make a unit at a random spot 5 times for each integer B is the same ( i think) |
| 12-30-2002, 02:24 PM | #7 | |
Quote:
|
| 12-30-2002, 02:27 PM | #8 |
so if there the same why are there 2 of them? and was i right about map inialaztion? |
| 12-30-2002, 02:38 PM | #9 | |
Quote:
First of all, i have no idea. 2nd of all yes. you got it right. I made this post for melee maps. you know, No Custom Trggers, no custom units, no locked start places, but i say... keep talking custom! i don't mind.:D |
| 12-30-2002, 02:44 PM | #10 |
I think the For every Interger A, 1 to whatever is also useful for dealing with arrays. Like if you have an array of people, 1 to 20, and you want to do something for all of them, then have it be 1 to 20 and if you want to have it be certain ones in the middle like 2 to 17 you can do that to. being new to arrays, I'm not so sure how that works, but maybe go and try it out. fr0ggE |
| 12-30-2002, 05:23 PM | #11 |
How can I check a hero's inventory slot if its full or not? HELP please? |
| 12-30-2002, 06:11 PM | #12 |
There is A and B so u can do loops inside loops, and using custom text you can create even more loops inside loops by creating function onyl varibles, or even globals if needed. Example: For each interger A 1-10 do For each interger B 1-2 do Create unit UnityArray[Interger B] at RegionArray[Interger A] Probly a pointless trigger, but, say u have 10 regions and in the map int u set all regions to a varrible in a array. Now u have 2 unit types also set to an array. 2 lines of code will create 20 units in total over the 10 regions. Just an example... |
