The perfect one step solution for creating Ice/Sliding Mazes in both Reign of Chaos and The Frozen Throne. It is the only decent system around and it even works in RoC, is lagfree, perfectly optimized, fast and reliable. The included TerrainKill feature frees you from the tedious task of creating a thousand kill-regions.

If i wanted 2 terrains to do the same thing then would i just copy that then replace the terrain code? (I decided to make regions to pause the units instead of doing it the difficult way)btw if i do pause the unit that goes on the ice would it still move with your system?

EDIT: Oh yea, your system can turn off turning...so if i wanted 2 different terrains with the same triggerwould i copy the triggerthen on the second one replace "Nice" with whatever i want then make it turn of sliding?would that work??

EDITEDIT: when i copy it the variables aren't there =(

EDITEDITEDIT: I wish i could have 2 world editors open at once...

EDITEDITEDITEDIT: When i went to save it so far, all the jass broke...

EDITEDITEDITEDITEDIT: if all of that happens does that mean i just have to work from your map?

Bad topic title, crowded and unreadable post, this can't get any worse now. I tried answering every question, but you need to make nicer posts in the future or nobody will care to read them.

MaxximusIf i wanted 2 terrains to do the same thing then would i just copy that then replace the terrain code?

No, that'd cause millions of syntax errors.

Maxximusbtw if i do pause the unit that goes on the ice would it still move with your system?

Yes, it would still slide. Pausing only stops the player from giving orders, triggers can (and do) still move it.

Maxximusso if i wanted 2 different terrains with the same trigger would i copy the trigger then on the second one replace "Nice" with whatever i want then make it turn of sliding? would that work?

Why do you ask it again? I already told you it would break.

Maxximuswhen i copy it the variables aren't there =(

You make no sense.

MaxximusI wish i could have 2 world editors open at once...

I opened two editors, but copying didn't work between them. It is better to just open both maps in the same editor and switch between them with Window → map1 / Window → map2.

MaxximusWhen i went to save it so far, all the jass broke...

Because you broke it. Redefining every function again is invalid and throws a lot of syntax errors.

Maxximusif all of that happens does that mean i just have to work from your map?

You can change the sliding system however you want, it's not closed source. It would be really easy if you knew jass. It's as easy as adding a new 'or' condition to the part where I determine whether the terrain tile under the hero is the sliding terrain type (ice). You can put a second terrain type there.

3ICEYou can change the sliding system however you want, it's not closed source. It would be really easy if you knew jass. It's as easy as adding a new 'or' condition to the part where I determine whether the terrain tile under the hero is the sliding terrain type (ice). You can put a second terrain type there.

Basically you add a second Slide variable, let's call it Slide2 and then Change if(t==udg_Slide)then to if(t==udg_Slide)or(t==udg_Slide2)then in the Slide function. Don't forget initializing udg_Slide2 in the Setup2 function! (Copy Slide1 and change it to your second terrain type)

If you would just try thinking about it for a second you would realize that units slide only if they are in the sliding unit group (udg_H). So if you remove them from the group they will not slide anymore. Then Unit - Pause unit and you are done.

EDIT: Please stop posting unreadable (=messed up grammar), misspelled, and stupid questions. Your above post qualifies for deletion in all three categories. I spared it for now, but next time I won't.