HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Trigger Problem (Ladders)

02-09-2003, 02:41 PM#1
Tearsong
The basic idea of creating a ladder that would be used to get on a wall was to use a modified model of a peon (let me know if you can help) and then when he is in a certain area, units can "garrison" him and "scale" the wall.

Now, I can do the part where oncer he becomes garrisonable people can scale the wall, but I dont know how to MAKE him garrisonable, and make it so he ONLY has this property when in a region.

Help if you can. Thanks.
02-09-2003, 05:25 PM#2
Tearsong
help?
02-09-2003, 06:31 PM#3
Guest
Ok this should work:

Make the event Unit Enters Region.

Condition: Unit type = your peasent.

Action: Either Hero Learn Skill (Make the skill learnable using ability editing)

Or

Action: Unit - Issue research order. Have him research the abil (more ability editing)

That's the best I can do. I think there's a way to just strait give the unit an abil but I can't find it.
02-09-2003, 06:34 PM#4
Guest
Ok found it. This should work better :

same Event

same Condition

Actions: Player - Enable\Disable Ability

You can select hero or unit abilities from that list to turn off\on.

Just mirror this trigger for unit leaving region to turn it off again (just change to leaves region and disable ability.
02-09-2003, 07:14 PM#5
ph33rb0
If I understand what you want correctly you could create a ladder like this:

1. Have a ladder model applied to a unit.
2. Use really steep raise/lower terrain (NOT CLIFFS!)
3. Use Zepir's editor to paint the pathing to unwalkable to all the entire area EXCEPT where the ladder is placed. Also make sure the "ladder" has a collision of 0.

I'm not sure if this is what you want but if you wanted a ladder people could "climb" it would work.