Home   Help Search Login Register  

Author Topic: getting a truck to a location as my final objective  (Read 594 times)

0 Members and 1 Guest are viewing this topic.

chief-stinky

  • Guest
getting a truck to a location as my final objective
« on: 23 Apr 2003, 08:12:11 »
Please be gentle, newbie editor, first mission, etc.  Reading faqs, scripting, editing guides, all that good stuff.

Creating simple multiplayer mission for lan party this friday.  believe it or not, an opflash only lan  :).

Basically, objectives are :
1) proceed through a village
2)kill shilka 1
3)kill shilka 2
4)get in this hostage truck, and return it to starting town.   (use your imagination, its an ice cream truck, and needs to return to the pub for the party)  Everon, St. Pierre.

Last obj is killing me.   I can have a group return it, using a waypoint......get in.........move to pub. game over, we win.   However, if i'm not part of the group, then it wont finish, even if truck is at the pub.  Also, if group member gets in the truck,  but a different member of the group wanders over to pub, we win, even without truck there.  Not  good.  Using waypoints as mission objectives was described as not good either.   So what is good?

I tried a location script, but it didnt seem to work for me.  

So, how can i create an objective to get a truck from point A to point B,  without relying on waypoints, since they are bad for that?

Thanks,
Chief-Stinky

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:getting a truck to a location as my final objective
« Reply #1 on: 23 Apr 2003, 08:32:53 »
The beertruck is empty in the begining, right? If it's not, make it so.

Then group the empty truck with the trigger you have near the pub. A new set of options will apear in the trigger's menu. From there select 'present - vehicle'

That should make it so that when the beertruck is in the triggers area the trigger will activate wether you guys are there or not.
Not all is lost.

Kaliyuga

  • Guest
Re:getting a truck to a location as my final objective
« Reply #2 on: 23 Apr 2003, 08:33:44 »
 Here's my suggestion:


use the distance command in a trigger...

condition: truck distance pub < 10


then toss some random object in yer mission at the pub or just a named loon and when the truck is within 10 meters of the "pub"  the trigger will go off....    

this should work for ya ;)

chief-stinky

  • Guest
Re:getting a truck to a location as my final objective
« Reply #3 on: 23 Apr 2003, 09:30:42 »
Thanks to you both.  Tried the first solution, grouping with the trigger.

Activation by vehicle.............woot, bingo, it works.

Thanks much,
Chief-Stinky