OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: calm_terror on 27 Sep 2003, 19:43:00
-
How can I get an AI to autoDisable and clear a Mine field?
-
take a look at this thread:
starting with the sixth post down on the page ;)
http://www.ofpec.com/yabbse/index.php?board=6;action=display;threadid=9376;start=30
-
does not help me cuz I need to remove preplaced mine field.
-
AFAIK you can't have soldiers pick up pre-placed mines (mines placed in the editor) because you need the person who laid the mine down
Then I would suggest naming your mines and making some script that makes your AI "engineers" walk to them.. and then the mines are setpositioned to some other spot on the island.
That would be about the only way to do this that I can see based on your wanting to use pre-placed mines from the editor
-
well crap. cuz i don't need him to pick them up just to disarm them..
-
you can still try what Sui had to say in that thread to see if it works for you:
Just note that the syntax:
unit action ["DEACTIVATE MINE"]
Will work provided the unit is at the position of the mine.
Something else to note... engineers can deactivate and take any mines they like... probably because they're engineers
Everyone else can only muck about with mines they've places themselves