Ultimate Map Helping Topic

PsYcHoTiC

Premium Member
Joined
Oct 2, 2002
Messages
216
Reaction score
0
Location
Oregon
Here's my problem:

I want to be able to type a chat message, for example "kill" and have it kill the unit(s) that is currently selected by the player. So if I have a peon selected and I type "kill" I want him to be killed. I've found the chat message trigger, but I cant find out how to make it kill the selected unit
 

PsYcHoTiC

Premium Member
Joined
Oct 2, 2002
Messages
216
Reaction score
0
Location
Oregon
Another question, if I'm using a hero, and he dies for good, with no way of bringing him back on the current map, how to I remove the grayed out portrait of him in the upper left?
 

PsYcHoTiC

Premium Member
Joined
Oct 2, 2002
Messages
216
Reaction score
0
Location
Oregon
Me again :)

How can I eneable heroes to go beyond level 10?

ty for all your help btw
 

UltimateJim

Member!
Joined
Jun 9, 2003
Messages
1,406
Reaction score
0
Location
in my house, durr Post
theres a sticky that says that, you go up to the top of the map editor window theres a tab called dvanced, in that tab there is an option called "cameplay constants" scroll down unitll you find stuff about heros, there should be a max hero level somewhere around there.

hope i helped :D
 

LiviruS

Member!
Joined
Jul 16, 2003
Messages
39
Reaction score
0
Location
North Sweden
the mapeditor is driving me mad

I have done a map wich i allready have done in sc... im on my second... its a very unik map... its about farmers! Whell, im going mad... the wc3 editor is alot more difficult then the sc. i need some help:

I whant to make all completed Wheat(a building) to die every game morning (6am) and the player who owns them to recive 6 wood. and likely a little message too, like: u have recived xxx gp for the harvest. How may i do. i have tried a lot of combinations with triggers! i dont get it :confused:
 

DutchDemon

Member
Joined
Jun 11, 2003
Messages
12
Reaction score
0
Location
The Netherlands
hmmm mayb like:
events:
Game - the in-game time of day becomes Equal to 6.00
Actions:
Player - add (7 x (number of units in (units owned by player 1 (red) of type Wheat))) to player 1 (red) current gold

Player - add (7 x (number of units in (units owned by player 2 (blue) of type Wheat))) to player 2 (blue) current gold

Player - add (7 x (number of units in (units owned by player 3 (yellow) of type Wheat))) to player 3 (yellow) current gold

etc etc etc till the number of players u have, and then:
Unit group - Pick every unit in (units of type wheat) and do (unit - explode (picked unit)):shoot






that should work
 

DutchDemon

Member
Joined
Jun 11, 2003
Messages
12
Reaction score
0
Location
The Netherlands
Originally posted by UltimateJim
a unit group trigger

take all units (selected by (player 1 red)) and do action kill picked unit

... i think
ye its:
Unit group - pick every unit in (units currently selected by player 1 (red)) and do (unit - kill (picked unit))



the chat message is:
Player - player 1 (red) types a chat message containing kill as an exact match
 

LiviruS

Member!
Joined
Jul 16, 2003
Messages
39
Reaction score
0
Location
North Sweden
Thanx alot for the help... but i dont know wich trigger "Player - player 1 (red) types a chat message containing kill as an exact match" is... ive searched through all player actions but cannot find the trigger wich can types messages.
 

pyro_junky

BattleForums Senior Member
Joined
Jul 13, 2003
Messages
1,248
Reaction score
0
Location
your moms bed room ;)
Website
Visit site
ok i need an rpg tip... i want there to be a mesage in white letters at the beginging of the game... like if you ever played jailbreak at the begiiing it tells you what to do... so can someone help me out?
 

LiviruS

Member!
Joined
Jul 16, 2003
Messages
39
Reaction score
0
Location
North Sweden
i need some more help... is there any "and" function in actions... seems like not! How can i make plenty of stuff happends with only one "if, then, else" trigger then? Do i have to copy the "if, then, else" trigger and chose a diffrent action!
 

DutchDemon

Member
Joined
Jun 11, 2003
Messages
12
Reaction score
0
Location
The Netherlands
Originally posted by LiviruS
Thanx alot for the help... but i dont know wich trigger "Player - player 1 (red) types a chat message containing kill as an exact match" is... ive searched through all player actions but cannot find the trigger wich can types messages.
thats because i wasnt talking to you. i was talking to ultimatejim and psycotic. the chat message is an event not an action.
About the message u want, i dont kno how to make it count de wheat farms n stuff and put that in a message, but u can do like this:
action:[COLOR]
Game - text message (explicitly timed)-------> Game - Display to (all players) for 30 seconds the text: You have gained 6 wood for every wheat on the map owned by you (or whatever)

btw, i saw that my other post wasnt totally correct, instead of
Player - add (7 x (number of units in (units owned by player 1 (red) of type Wheat))) to player 1 (red) current gold
it should be
Player - add (6 x (number of units in (units owned by player 1 (red) of type Wheat))) to player 1 (red) current wood

otherwise you'd get 7 gold for each wheat
 

WhoSaidPentoozler?

New Member
Joined
Jul 25, 2003
Messages
4
Reaction score
0
Website
Visit site
I was wondering how to make regions where units wandering in get their life drained over time. I have been testing different if-then-else combinations, but I have only gotten it to work once when the unit enters instead of continuously.
 

Pornomon

Member!
Joined
May 25, 2003
Messages
216
Reaction score
0
Website
Visit site
K Heres one:

Left Vs Right:

Like in Zoator, (Mines a td also), i need to make it so the lives are seperate, and when people leave the other side cant get thier towers? And the lives to be a seperate thing?

Thx
 

LiviruS

Member!
Joined
Jul 16, 2003
Messages
39
Reaction score
0
Location
North Sweden
I was wondering how to make regions where units wandering in get their life drained over time. I have been testing different if-then-else combinations, but I have only gotten it to work once when the unit enters instead of continuously.
maybe like this...

event: every 0.10 seconds

condition: "unit" is in "region"

action: adds -1 life on "unit"

Im a noob at this editor and this may be wrong! and i dont know the exactly name of the triggers!:confused:
 

UltimateJim

Member!
Joined
Jun 9, 2003
Messages
1,406
Reaction score
0
Location
in my house, durr Post
unit enters regoin 001

run trigger 001

tigger 001

every 1 second

set life of (all units in region 001) to life of (triggering unit -1)

then another trigger

unit leaves region 001

trigger turn of trigger 001

.. i think.........
 
Top