Home   Help Search Login Register  

Author Topic: Area Restriction  (Read 556 times)

0 Members and 2 Guests are viewing this topic.

shadow99

  • Guest
Area Restriction
« on: 24 Oct 2004, 02:33:56 »
I'm designing a mission where at the start the player's group is waiting for two M113s to arrive. Until the player gets in his/her M113, I want there to be an area restriction on the player. This can be done easily enough with two well-placed triggers, in which case I make the mission terminate if the player ventures out too far, but turning them off once he/she is in the M113 is the problem. Any suggestions?

Thank you.

Dubieman

  • Guest
Re:Area Restriction
« Reply #1 on: 24 Oct 2004, 03:52:06 »
Try naming the triggers in their respective name fields and in the get in waypoints activation part type this:

deletevehicle trigger1; deletevehicle trigger2

I think that should work... :)

shadow99

  • Guest
Re:Area Restriction
« Reply #2 on: 24 Oct 2004, 04:06:47 »
It could work, but I'm running into the same problem I had beforehand. That problem is, the trigger doesn't end the game when it detects west. I tried putting in a camera effect to make sure it is working, and the camera works, but the termination does not. I've double checked the settings, and tried restarting OFP (as sometimes you need to, to get ending triggers to work for some reason), but the game still won't end. I'll keep fiddling.

Dubieman

  • Guest
Re:Area Restriction
« Reply #3 on: 24 Oct 2004, 04:09:35 »
I don't understand you then...

You had 2 triggers to stop the player from wandering off. Name them and deletevehicle them once the guy gets in the M113 by putting code in WP activation box. Triggers dissappear and no problem. Then I thought you had another trigger for ending a mission or something like that? :-\


Edit: To end the game in the area triggers put the end#2 on in the second box part of the trigger in one of the drop down menus.

Use end#1 for the winning end. Would that work? :P
« Last Edit: 24 Oct 2004, 04:11:12 by GuiltyRoachKillar »

shadow99

  • Guest
Re:Area Restriction
« Reply #4 on: 24 Oct 2004, 04:19:24 »
Weird. I had everything set up like you suggested except End #3 instead of End#2 for some odd reason. I switched to End#2 and now it works fine.

Thanks for that!

Dubieman

  • Guest
Re:Area Restriction
« Reply #5 on: 24 Oct 2004, 19:00:37 »
No problem, but I wonder why changing endings would matter, it usually doesn't. :P :)

Offline Sui

  • Former Staff
  • ****
    • OFPEC
Re:Area Restriction
« Reply #6 on: 25 Oct 2004, 06:23:33 »
It will if there was another trigger around also set to End #3.

In order for a mission to end, all triggers with the same ending number have to be activated ;)

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:Area Restriction
« Reply #7 on: 25 Oct 2004, 07:44:45 »
Would camcreating a shell at the player's location if they go into the trigger area suit your needs?