OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: mt1202 on 29 Nov 2005, 23:00:37

Title: Combining missions
Post by: mt1202 on 29 Nov 2005, 23:00:37
hi.

I was thinking off doing a mission, where you first have to recon a place, destroying supply routes and so on. And now comes the part i was thinking about :) I would like to have multiple outcomes.

Example "if you dont do the recon properly, and miss the mission objective, then you would recieve a mission where the enemy is alertet to your activity" and the opposite happens if you complete the objectives.

I do know that i could just make 3 missions, and then switch manually.
But i would really like to have the mission itself do it.

hope i made a little sense. ;D

take care ;)
Title: Re:Combining missions
Post by: macguba on 29 Nov 2005, 23:09:46
The secret to this is to use waypoint paths controlled by switch triggers.     Tute in the Ed Depot.

The point is that an enemy AI group can cycle round one set of waypoints.   If one trigger fires, they go onto another set.   However, if a different trigger fires, they go onto yet another set of waypoints.

You are talking about complex example, but a simple example is very common.  

MOVE (safe, column)
MOVE
MOVE
CYCLE     <----------- switch trigger synchroed to this waypoint fires if you are detected
SEEK & DESTROY   (alert, wedge)
CYCLE
Title: Re:Combining missions
Post by: mt1202 on 29 Nov 2005, 23:48:55
i will give it a go. :)