OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: deunan_knute on 03 Apr 2003, 02:07:02
-
Hey all,
I'm making a mission where there are 3 captives held inside a building, and at a specified point (if the player has failed to rescue them) they are lead out of the building and executed. My problem at the moment is getting these units to march along the exact path I want..right now they follow the right general path, but they do wierd stuff like go the long way around buildings and walk through walls. This doesn't look very good, because they are supposed to be 'led' by enemy guards. Is there a way to specify *exactly* a path for a unit to take?
-
You should Assing a security stance to you POW. and switch him allied whit every one , Russian et US.
-
It's very difficult, particularly in confined spacees like this. First of all, don't get overexcited about it, since its unlikely the player will see it. Waypoints aren't actually much good here, because they pause at each one and anyway waypoints are quite big.
It's probably worth playing with invisible markers/gamelogics and the commands doMove and doFollow.
Set the markers along the path you want the loons to follow. Create a script, called when you want the execution parade to start. Get the guard to follow the markers and the POW to follow the guard. You will have to experiment to make it work, and I'm not saying that it will work at all, just that it's probably worth a try.