Adding 'garrison' ability to a unit in the Scenario editor through triggers

I’ve just figured out with the new triggers in the Scenario Editor, how to add a garrison ability to a unit.

For example i’ve made a chariot and i want garrison my foot soldiers in it.

The triggers:

Effect: Protounit: set unit type
Logicaltypegarrisoninships.

Effect: Protounit Modify data
Maxcontained
Delta: 5, assign. (the amount you put in delta will be the amount of units that can garrison).

Protounit Add unit command. Unit: Chariot archer. Command: eject. Row 0, column 0 or 1.

Protounit Modify with Unit Type:
Unit type: chariot archer.
Unit type target: Arcus. (i wanted to put arcus in my chariot. but you can do any you want. And if you want different units or abstracts then you can add them).
Add contain type: 5 this one is important ADD CONTAIN TYPE.

Protounit Modify with unit type:
Unit type: chariot archer.
Unit type target: abstractcavalry. i’ve also added Myhthunit, abstract siege weapon, ship, resource in more triggers. These are the units i do NOT want.
Then pick Add NOT contain type. This means the focus unit will not be able to garrison the target unit!!!1

That’s it.