PLLLZZZ HELPPP MEEEEEE!!!!!!!!!!

Ducati

Member!
Joined
Aug 14, 2004
Messages
106
Reaction score
0
Location
alaska
Website
Visit site
k i need to know 2 things.

1.im creating a footmen warz map,i need to know the trigger that makes it so when player red picks a hero from the hero tavern that hero will appear at reds base,same for blue,teal etc.??i've been told befo its a long trigger so if neone would be kind enough to post it,it would mean a great deal to me.

2.i've posted this before but it didint help cus there wasn't much replys bak to my ?'s.Unit spawning,i need to make it so a certain building spawns a certain units with a time duration??
If u could plz show me how the 'entire' trigger would look if u were to do it,or take me a screenshot of the trigger , it would help alot.

Plz Ty.
 

Sogeking

Shithead
Joined
Jan 23, 2003
Messages
4,352
Reaction score
3
1.

-surround the tavern with farms or something.

-make a region around the tavern(and farms)

-make a trigger that is called TP to base

-make an unit enters X region event(the one u just made)

-now make an if/do/else trigger

-in if(its a conditions) owner of unit is = red/in do(action) move unit instantly to a region inside red's base/else do nothing

*copy*

*paste*

replace red with blue, send to same place since they are on same team.

*copy*

*paste*

replace red with whatever and the new place with where that player's base would be.

*repeat untill you have enough for all players*

and then after something like 30seconds destroy the tavern or somehting.

2.

first, does the unit have the durration?

if so, you need to go into unit editor i think and look for the unit you want to create. then i think there is a time durration stat somewhere near the bottom. change it to how long you want it.

you can have any building create the unit really, but to be specific, create a barracks(example) and make sure the unit you just edited is in it.

now go into triggers.

make a trigger called Building Spawn(ior something like it)


make the event a timed one if you want it that way, make it more specific other than "make a building create a unit" Lets say its timed. periodical even. make it periodical(sake of example) for every 10 seconds.

now go into conditions(this is optional but IMO nice to have) go to a real condition(i think) and make it so it says, building = alive

go to actions

selection: click create unit you just added

or

unit: create a new unit for player(whoever you want) at x point(offset of building).
 

Ducati

Member!
Joined
Aug 14, 2004
Messages
106
Reaction score
0
Location
alaska
Website
Visit site
and could u be kind enough to show me how exactly the 2 triigers would look??,im new to all this stuff and i'm wanting to learn.
 

HellThrone

Member!
Joined
Oct 17, 2003
Messages
295
Reaction score
0
Location
Hell
first off a quadrouple post is outragous. from now on, edit your old post with what u have to say if someone else hasnt posted yet instead of making four differant posts back to back.
 

Pains Requiem

BattleForums Senior Member
Joined
Nov 30, 2003
Messages
4,077
Reaction score
0
Location
north carolina
Website
Visit site
yes, a quad post is really bad, especally when a double post is considered hell to some..
anyway what exactly do you mean "how should the triggers look?"
 

tassadar920

Member!
Joined
May 18, 2003
Messages
2,048
Reaction score
0
Location
My house
Ducati said:
k i need to know 2 things.

1.im creating a footmen warz map,i need to know the trigger that makes it so when player red picks a hero from the hero tavern that hero will appear at reds base,same for blue,teal etc.??i've been told befo its a long trigger so if neone would be kind enough to post it,it would mean a great deal to me.

2.i've posted this before but it didint help cus there wasn't much replys bak to my ?'s.Unit spawning,i need to make it so a certain building spawns a certain units with a time duration??
If u could plz show me how the 'entire' trigger would look if u were to do it,or take me a screenshot of the trigger , it would help alot.

Plz Ty.
I'll ignore the bashing that went on up there and try to make more sense out of the 2nd post.


1A: So basically what you want is that when your hero is made at the tavern, instead of appearing at the tavern place, he will teleport to the base? Easy enough.

Steps:
1. Go into the trigger editor
2. Make a new trigger, name it TP to Base
3. Go back to the WE screen, make a new region over the tavern, extending a little around it.
4. Go back ot the trigger editor
5. Make a new event - "Unit enters region" set the region to the one you made over the tavern. (There is a more advanced way of doing this, but because of your position on triggers we will ignore that)
6. Skip over conditions
7. In actions, make an "IF/THEN/ELSE" this will check the "IF" condition, if it's true itw ill do the "THEN" action, if not true it will do "ELSE" actions.
8. Under IF make a condition that checks for the owner of the unit entering the region is = to the person who should be purchasing the hero.
9. Under THEN make an action that does "Unit - Move unit instantly" (or whatever the action is) and move him from the region of the tavern to a new region at the base.
10. Under else have it say do nothing
11. If you want your tavern to dissapear that is a totally seperate trigger.

2A: Ok so if I understand, you want every X seconds, a unit A (or several unit As) to spawn.

Steps"

1. New trigger
2. Event is periodical every X seconds
3. No conditions
4. Action is: Create # of unit A's at position of the barracks. Real simple.


Now, I just got back from working a long time with other programs, so my WE is a lil rusty, but I hope that helped.
 

NewPosts

New threads

Top