HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Rescuing units from a newb

02-03-2003, 04:48 AM#1
Guest
Greetings!! --- First post from a n00b mapper =)

I, for the life of me, cannot figure out how to create a trigger to rescue units.

I downloaded an rpg map that had the trigger listed in it, but when I try it - no go. >;(

What I need to find out is the exact trigger sequence that allows me too rescue a (for example) neutral Barracks and proceed to have the Barracks become one of mine.

Honestly, I have searched and friggin' searched for a tutorial on rescuing units but I cannot find one. I can gather that the trigger is rather simple from looking at the pre-made map I downloaded, but I must be missing something.

Here is what I have written:


Events:
Unit - Barracks 0009 <gen> Is rescued

Condition:

Action:
Player - Make Barracks Available for training/construction by Player 1 (Red)

What am I missing or doing wrong?

TIA,

Sliver
02-03-2003, 04:55 AM#2
Excel Excel
Try this instead:

Event:
Unit enters region
Condition:
Unit is owned by player
Action:
Change Color/Owner of Barraks to Player

And just make a region around the barraks. At least...I think that's what you want to do.

If you just wanted the building to make units for the player:
Event:
Unit enters region (keep region there)
Condition:
Unit is (whatever units you choose for the barraks to train)
Action:
Change Color/Owner of unit to Player
02-03-2003, 05:01 AM#3
Guest
I will try that!

Makes me curious as to why the other guy (name escapes me but the map was called High Elf Campaign 1) did it differently.

Thanks again,

Sliver
02-03-2003, 05:09 AM#4
Excel Excel
depends on the person really...there are probably three hundred different ways to do it. Probably an even easier way than I listed for that matter
02-03-2003, 05:30 AM#5
Guest
..I am making a multiplayer map and I want it the ownership of the unit to go to the first player that arrives... how would I go about that ? I figure there must be an easier way than creating a ton of triggers with conditions for every player that is able to join? -- Did that make sense?
02-03-2003, 05:39 AM#6
Excel Excel
Simple again.

Event:
Unit Enters Region
Condition:
Triggering unit's controller = User
Action:
Rescure unit for Owner of Triggering unit and change color

Who woulda thought there was a Rescue Unit trigger thing. BTW, I recommend downloading 3.4 of the UMS editor...makes triggers ten times quicker
02-03-2003, 05:41 AM#7
Guest
Thanks for the help! Most appreciated!

-Sliver
02-03-2003, 02:12 PM#8
Guest
Just place them as rescuable while making the map. You don't even need any triggers.
02-03-2003, 04:07 PM#9
fr0ggE
yeah, I was about to say...In the first trigger you mentioned you had as your event:

"building blah is rescued". Therefore the thing won't fire unless you make it rescuable.