OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Horizon on 14 Aug 2005, 06:38:10

Title: Waypoints
Post by: Horizon on 14 Aug 2005, 06:38:10
I know this question has probably been asked in the forums but I have searched the forums and other website and I can't find an answer for my question.

I'm new to OFP mission editing and I am trying to get a way point to loop (e.g. a man patrolling a fence backwards and forwards continuously) could some one please tell me how this is done.

One last question.
I have a man that needs to get into a car but I cant work out how to make him mount It from the mission editor. Any suggestions?

Thanks
Title: Re:Waypoints
Post by: THobson on 14 Aug 2005, 08:51:01
1.  Create the patrol route with waypoints,then add a CYCLE waypoint as the last one.  Put the cycle waypoint next to the waypoint that you want the man to go back to.  

2. Try a Get In waypoint for the man placed on top of the car
Title: Re:Waypoints
Post by: Horizon on 14 Aug 2005, 09:48:58
Thanks for that :)

One more question i have a bus driving to diffrent bus stops and i need the waypoints to hold the bus there for a few seconds and each stop.

Thanks again

(also the man didnt get into the car when i just put a move waypoint on top of it) ???
Title: Re:Waypoints
Post by: 456820 on 14 Aug 2005, 10:27:35
for the bus one look in the waypoint box theres one that says a timer or something
with a  min mid and max all set as 0

change them all to 5 then the bus will wait for 5 seconds before moving on to the next waypoint you can increase or decrease the numbers as you like
also if you have for example
5 8 9
it will chose any random time from those 3 so it could be 7 one time then 4 the next etc etc
Title: Re:Waypoints
Post by: THobson on 14 Aug 2005, 12:54:11
Quote
also the man didnt get into the car when i just put a move waypoint on top of it
Well it wouldn't.  Change the waypoint from MOVE to GETIN
Title: Re:Waypoints
Post by: macguba on 14 Aug 2005, 13:01:25
Make sure the waypoint is "attached" to the vehicle, not just above it.    And

Welcome to the forum!
Title: Re:Waypoints
Post by: Horizon on 14 Aug 2005, 13:14:22
Thanks so much.
How do u attach the waypoint 2 the car
Sorry I'm so bad at this. I'm so new to map making I have had the game for years (RES included) and am really interested to make my own RPG missions.
Title: Re:Waypoints
Post by: 456820 on 14 Aug 2005, 13:25:47
just press f4 then clcik on the unit you want to move then double click on the car to create the waypoint then switch it to a get in type
Title: Re:Waypoints
Post by: THobson on 14 Aug 2005, 14:55:33
I just create a getin way point and then move it over the top of the car.  I think it then attaches itself, or maybe I have just been lucky.
Title: Re:Waypoints
Post by: Jake Trans on 14 Aug 2005, 17:35:09
Hi,

Just to say you were not lucky you've found another way of doing the same thing but I think it easier to do it the 456820 way

Oh yeah good luck with your mission
Title: Re:Waypoints
Post by: Plane on 14 Aug 2005, 18:03:59
One more question:
I'm making a aircraft carrier landing mission. And i want to switch back to the previous waypoint if the landing is failed? ??? Also ignore and skip to the next waypoint when a trigger is actived? ???
Title: Re:Waypoints
Post by: macguba on 14 Aug 2005, 19:11:50
You need switch triggers.   Tute in the Ed Depot.   Also read some of the general tutes about triggers in the Getting Started section.

Switch triggers are very, very, VERY important in mission making so make sure you understand them rhoroughly.