The same..
Are we borderlining into off-topic?
Anyway, if you mean that there's an AI standing next to the gate and the gate opens when you approach it, you need the following:
- A trigger covering the close vicinity of the gate
- the gate's object id (show ID's in the editor, zoom close)
Set the trigger to 'repeatedly', your own side present..
In it's 'on activation' field you type
(object XXXXXX) animate ["Component02", 1]
In 'on deactivation' field
(object XXXXXX) animate ["Component02", 0]
Or vice versa, depending on what animation states the 1 and 0 represent..
The
XXXXXX means the object id number..
If you are using editor placeable gates the instead of object id you just name the gate and do the above thing except instead of yousing
(object XXXXXX) you use the name you gave to the gate..
Should work, not tested nor guaranteed though..