Page 1 of 2

Unitwithin Range Proplem

Posted: Fri Feb 10, 2012 1:18 pm
by DarkJustice12
i am making an epic Ice maze...as 3ICE is familiar with it...but i have 1 faulty within it...i have a dialog bottom thing but idk how to make it so when a unit comes within range of a unit spawned during the dialog period to die...i know i suck at explaining proplems NOT MY FAULT!

Re: Unitwithin Range Proplem

Posted: Fri Feb 10, 2012 1:34 pm
by 3ICE
Err... Try again? Post a screenshot? Draw a picture? Anything?

Re: Unitwithin Range Proplem

Posted: Fri Feb 10, 2012 10:09 pm
by DarkJustice12
how about i just add the map xD i suck at explaining

Re: Unitwithin Range Proplem

Posted: Sat Feb 11, 2012 6:42 am
by 3ICE
3ICE wrote:[...] Similarly, putting an exclamation point (!) symbol in the map's file name breaks URLs. (%21) [...]
Stop putting exclamation marks in map names -.-

I'm taking a look at the map now.

Edit: There is nothing in that map that is related to dialogs and units coming within range of summoned units. Did you attach the right version?

Edit2:
You forgot to delete these two You forgot to delete these two
     t_com -------- Variable autocreation (You can delete these two after importing) --------      t_set Set Slide = 3      t_set Set TerrainKill = 3
Delete those too.

The heroes' Proper Names field is not going to work like that. You want one proper name per hero to prevent randomness. And you forgot to update the Proper Names Used field. The old value at 15 is making the game do unnecessary calculations. Set it to 1.

Re: Unitwithin Range Proplem

Posted: Sat Feb 11, 2012 8:23 am
by DarkJustice12
i see..ill fix that...ok so ill explain it more...when a unit comes within 40 yards of a unit t_uni Unit - Die
idk what to do
EDIT: btw this is gunna be a summoned unit threw a dialog

Re: Unitwithin Range Proplem

Posted: Sat Feb 11, 2012 8:24 am
by 3ICE
That doesn't help.

Re: Unitwithin Range Proplem

Posted: Sat Feb 11, 2012 8:27 am
by DarkJustice12
hmmm...ok this is really hard to explain..for me of course....ok so a unit gets summoned so on so on i want it to add a t_uni Within Range trigger for summoned unit...what do i do?

Re: Unitwithin Range Proplem

Posted: Sat Feb 11, 2012 8:39 am
by 3ICE
Design the trigger and leave it eventless, then in your summon trigger use Trigger - add event: Unit comes within x of (summoned unit)... if such a function exists. If it doesn't, last created unit ought to do it.

Re: Unitwithin Range Proplem

Posted: Sat Feb 11, 2012 7:04 pm
by DarkJustice12
2 things...1 imma forget the dialog thing and my hole idea to make the best map possible...and 2 does anyone know how to make a unit unclickable/untargetable?

Re: Unitwithin Range Proplem

Posted: Sat Feb 11, 2012 8:04 pm
by 3ICE
Look up the "Locust trick".