HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Seems like I'm full of newbish questions

10-30-2003, 08:28 AM#1
Clockwork Noah
I feel like an idiot coming here and asking simple stuff like this, but here I go anyway:

1. How do I change the background music for a map without making one huge region and giving it ambient music?

2. Is there any way to make a player's units just sit around and not do anything unless they are attacked or given an order? Kinda like keeping them on an automatic hold position.

3. How can I make it so that a specific player's units can't pass through one region, but other players' units can?
10-30-2003, 10:41 AM#2
Voi
1: Add a sound (not 3D) with the triggers.

2. I dont know, I dont think it is possible (I've self tried), thats why the siege form tank can move (but very slow) in dota.

3. This methods looks ugly but I dont know any other way to do:
Simple ugly way:
E- Unit enters "ur region".
C- Owner of entering unit equal to "the blocked player".
A - Move unit instantly to "another region nearby".

More good-looking but still ugly way.
E- Every 0.01 second of the game.
A - Pick every unit in "that region" owned by "the blocked player" and order picked unit to move to center of "another region nearby".

And if u have 2 ways into the region then make 2 head regions and 1 "another region" each side.
10-30-2003, 11:20 AM#3
ObsidianTitan
2) I don't exactly know what your talking about, but what is you have a trigger that goes something like...

Event - Unit is created/Unit is summoned/Unit enters playable map area
Action - Order triggering unit to hold position

3)Ive got a cleaner way to get this to work than the other guys I think, set up a region for each direction that the players can enter from

This is for the bottom region
Event - Unit enters region (bottom region)
Condition - Owner of entering unit equal hostile player
Action - Move (Entering unit) instantly to ((Position of (Entering unit)) offset by (0.00, -200.00))

Just make 1 for each direction and don't mess up the direction and it will work fine (I'm pretty sure i have the right direction on it but i didn't check).
10-30-2003, 11:24 AM#4
drezman
just do when unit enters region playable map area
play music......
10-30-2003, 11:25 AM#5
drezman
you could do pause all units
10-30-2003, 11:53 AM#6
danny760311
This is the most good-looking idea I've ever found:

Cant Enter
Events
Unit - A unit enters Region 000 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Whose Unit should be blocked
Actions
Unit - Move (Triggering unit) instantly to ((Position of (Triggering unit)) offset by 30.00 towards ((Facing of (Triggering unit)) + 180.00) degrees)


The Entering Unit will back a little distance as if there's a roadblock. But so far I can't find any idea to keep the unit's origin order work.
10-30-2003, 12:22 PM#7
Vexorian
1.- Use the Set music list action at map initialization, however it only works with one song, if you want more than a song check this

2.- If they are computer players you can give the ability Shadow Meld (Akama) to every of the units, and order them to hide whenever you want those units to autohold position

3.- What they said