HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Helllpppp!!!!!!

08-03-2004, 01:06 AM#1
Master-O-Chaos
How do you make a unit attack a region it just sais no unit and i cant select a unit and i dunno how to make a variable
08-03-2004, 01:16 AM#2
Eeporgorg
To make a variable, simply click the golden X in the trigger editor, or "Edit Variables"
Please be more specific in what you want to happen with the unit. I.E how it's created, etc. etc.
08-03-2004, 02:28 AM#3
Master-O-Chaos
O i figured it out but is there an easier way in mazes to make a unit die when stepping somewere they shouldent i do it with tons of regions then

Event- Unit enters Region Kill Action-kill triggering unit


Please help with this the way i do it is long and makes a HUGE trigger
08-03-2004, 03:08 AM#4
Miningjrk
If your going to recieve help, we need to know more about what your trying to do. Such as what unit? Can other units enter this region without dying? If not then:

Event- Unit enters region "kill"
Condition- none
Action - Kill triggering unit.

Thats it. If other units can enter this region without dying then you need conditions. Such as:

Event- Unit enters region "kill"
Condition- Unit is owned by player 1 red
Action - Kill triggering unit.

If you need more help please give us more information!
08-03-2004, 03:10 AM#5
Miningjrk
If your going to recieve help, we need to know more about what your trying to do. Such as what unit? Can other units enter this region without dying? If not then:

Event- Unit enters region "kill"
Condition- none
Action - Kill triggering unit.

Thats it. If other units can enter this region without dying then you need conditions. Such as:

Event- Unit enters region "kill"
Condition- Unit is owned by player 1 red
Action - Kill triggering unit.

For many regions just add more events such as:

Event- Unit enters region "kill" , Unit enters region "kill2" , ect
Condition- None (or if other units can enter then use a condition like up above)
Event- Kill triggering unit
08-03-2004, 03:12 AM#6
Miningjrk
Oops sorry, double post there...If an admin wants to remove that first one that would be great.
08-03-2004, 03:23 AM#7
Master-O-Chaos
Quote:
Originally Posted by Miningjrk
If your going to recieve help, we need to know more about what your trying to do. Such as what unit? Can other units enter this region without dying? If not then:

Event- Unit enters region "kill"
Condition- none
Action - Kill triggering unit.

Thats it. If other units can enter this region without dying then you need conditions. Such as:

Event- Unit enters region "kill"
Condition- Unit is owned by player 1 red
Action - Kill triggering unit.

For many regions just add more events such as:

Event- Unit enters region "kill" , Unit enters region "kill2" , ect
Condition- None (or if other units can enter then use a condition like up above)
Event- Kill triggering unit
well ok but is there like a way to make a region go around a corner instead of making 2 seperate regions because i end up with way to many regions in the end i did this once but im not sure how it got that way thanks :D
08-03-2004, 08:43 PM#8
Anitarf
Well, you could just put custom units with an immolation based ability that does insane damage where you don't want people to go. That is, if you have the Frozen Throne, in regular Warcraft it's just easier to do this with your triggers.
08-03-2004, 09:08 PM#9
horusrogue
Sorry, but this caught my eye:
Quote:
well ok but is there like a way to make a region go around a corner instead of making 2 seperate regions because i end up with way to many regions in the end i did this once but im not sure how it got that way thanks
Mainly the around corner part....
I thought REGIONS in we were like RECT Image Map Areas in websites: they are rectangles...and not...custom shapes...or did they change this in tft?
(damn tft then :P)
08-03-2004, 09:39 PM#10
Vexorian
after creating the unit save last created unit in a variable
08-04-2004, 01:59 AM#11
Master-O-Chaos
Quote:
Originally Posted by horusrogue
Sorry, but this caught my eye:
Mainly the around corner part....
I thought REGIONS in we were like RECT Image Map Areas in websites: they are rectangles...and not...custom shapes...or did they change this in tft?
(damn tft then :P)
Well i dunno one map i was fooling around with to learn some things and i was placing regions then i did sumtin and it started bending in one spot insead of strecthing hole thing and i couldent get out of that so i was just wondering :\
08-04-2004, 02:32 AM#12
TheBlackMage01
Thats impossible. Regions are groups of rects. Rects are rectangles, therefore you cannot have a circular region, etc.

The way mazes do their trigger is with regions, there is no way around it. If you are too lazy, dont make the map.
08-04-2004, 08:04 AM#13
Master-O-Chaos
Quote:
Originally Posted by TheBlackMage01
Thats impossible. Regions are groups of rects. Rects are rectangles, therefore you cannot have a circular region, etc.

The way mazes do their trigger is with regions, there is no way around it. If you are too lazy, dont make the map.
it didnt go into a circle..
AND I DONT LIKE ADDING 50 EVENTS TO KILL THE UNITS THAT WALK INTO THE REGIONS
08-04-2004, 08:50 AM#14
Anitarf
Quote:
Originally Posted by Master-O-Chaos
AND I DONT LIKE ADDING 50 EVENTS TO KILL THE UNITS THAT WALK INTO THE REGIONS
Deal with it. Sometimes, there's just no shorter way. In the map I am currently making, I have to set about a 100 different regions and destructibles to variables at map initialization. It's no fun copy-pasting stuff around, but sometimes, it has to be done, no way around it.