OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: terran4999 on 28 Apr 2008, 04:08:30
-
How would you get a AI to open a door of a building?? Below is what I thought of that failed. "Hanger" was the name of the building. Any ideas???
this action ["opendoor", hanger]
-
1. You need the house to be the subject, not the player
2. The command needs to be animate, not action.
This would be the correct line (I think):
hanger animate ["doors1", 1]
Try playing around with that to get that to work.
-
Just tell the loon to go to a position in the building, if there are doors to be opened he should do it himself.
Planck