HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

I sooooo need someones help!

10-11-2003, 08:51 AM#1
Markus3832
I have a triggering problem. I want a guy that finishes building something get killed or removed from game or something. Can someone help me how to do this?
10-11-2003, 08:58 AM#2
CajunGoddess
NO DBYS
10-11-2003, 09:02 AM#3
Zachary_Shadow
Use the event:

A unit finishes constructing a building

Condition:
Constructing unit = Unit

Action:
Kill constructing unit

Something like that :)
10-11-2003, 09:14 AM#4
Markus3832
there is no constructing unit, only constructing structure O_o Why does triggers always have to be so complicated?
10-11-2003, 09:32 AM#5
Zachary_Shadow
All i can figure out is how to kill the structure that is build...

Srry, got no idea...Maybe some integer variables...or something.. ?
10-11-2003, 10:37 AM#6
ObsidianTitan
You could try to get it working with unit enters region event.
10-11-2003, 02:16 PM#7
Markus3832
how do i do this?
The move region trigger says it is useless unless the region is a variable so i made a region variable but i don't understand how to make that region bigger cause you cannot see it on the map for some reason... Help?
10-11-2003, 02:29 PM#8
sansui
ok i figured one out it isnt verygood

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~`
Untitled Trigger 001
Events
Game - The 'Build Structure' button is clicked
Conditions
Actions
Set variable = (Random unit from (Units currently selected by Player # (color)))
Trigger - Turn on Untitled Trigger 002 <gen>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~``

Untitled Trigger 002
Events
Unit - A unit owned by Player # (color) Finishes construction
Conditions
Actions
Unit - Kill variable
Trigger - Turn off (This trigger)
10-11-2003, 02:33 PM#9
Vilex
oor u could just used a elasped time trigger... like they do on the Metal Marines


E: elasped time=30secs
A:remove unit "builder01"



somthing like that...
10-11-2003, 07:55 PM#10
Markus3832
Hmm... It still does not work... I tryed doing what all of you said but it is still the house that is getting removed/killed... God i hate triggers
10-11-2003, 08:31 PM#11
Vilex
argh... okay tell me if this is what u want so i can make the trigger for u... u want like it so after that unit gets done finishing the building he dies right???? il try and make a pratice trigger for u
10-11-2003, 08:50 PM#12
Vilex
ok here i got a little sumthing... this is kinda what u want id expect... thats what u said..am trying to make this variable that when he finishes it he dies... give me soem time and il post the map back up
10-11-2003, 10:38 PM#13
Markus3832
But the thing is it isn't just 1 peon it is about... It is many so you can't use a decided one... And then you can also get more of them too...
10-11-2003, 10:55 PM#14
ABM
easy and simple....

Make all the building the peon will build classified as ancient...
Make the peon a race elf (maybe also edit the peon from a wisp but i think u don't need)

then the peon will disapear after finishing the structure .

easy and simple no trigger required.
10-12-2003, 12:53 AM#15
Hunter0000
Yes that works, but if someone builds two buildings at once it would overide the varible and kill only one of them, the ancient way is the best way to go about it.