Home   Help Search Login Register  

Author Topic: Problems with triggers and clients in MP mission  (Read 2059 times)

0 Members and 2 Guests are viewing this topic.

Offline Jester_UK

  • Members
  • *
Problems with triggers and clients in MP mission
« on: 06 Mar 2007, 22:22:53 »
Sorry guys another potentially stupid question here.

I am trying to find a way to create a multiplayer mission with a trigger and script driven helicopter insertion.

The basis is that myself and a friend will each lead a squad (at this time all other squadmembers in the mission are AI).

The triggers and scripts all work fine testing offline. Two of the triggers require the human squad leader to be present in a trigger area (first one to fire the trigger to cause the Black Hawk to take off, the second one to cause a script to run that makes the AI squadmembers disembark).

Online however it seems that the client (ie: me) can't cause a trigger to fire. The first trigger to cause the Black Hawk to take off doesn't activate at all (it doesn't even spool up it's engines) so I have no idea if the 2nd client dependant trigger (the one to run the disembark script) would work online as we can nver get there. Judging from the lack of action in the first trigger I'd assume it wouldn't.

From what I had read I thought that triggers were global by default. It seems I'd got this wrong. The problem is I can't find a way to allow a client to fire a trigger in an online session. I've searched the forums (both here and the BIS forums) but can't find what I'm looking for. My apologies if it's there but I've missed it. Could someone please tell me what I'm doing wrong?

Offline Cheetah

  • Former Staff
  • ****
Re: Problems with triggers and clients in MP mission
« Reply #1 on: 06 Mar 2007, 23:02:22 »
Might be good to start reading this, haven't thought of a real solution yet.
« Last Edit: 07 Jan 2009, 09:09:40 by bedges »
Like missions? Help with Beta Testing! or take a look at the OFPEC Missions Depot for reviewed missions!

Offline Jester_UK

  • Members
  • *
Re: Problems with triggers and clients in MP mission
« Reply #2 on: 07 Mar 2007, 01:08:28 »
Thanks Cheetah,

That seems to pretty much confirm how I thought triggers should work in MP. I must be missing something else somewhere. I notice that the tutorial you linked to says it's part 2 of 2. I looked through the tutorial section but must have missed part 1. I can't find it there. Would you have a link to the first part by any chance?

Offline SnarlingWolf

  • Members
  • *
Re: Problems with triggers and clients in MP mission
« Reply #3 on: 30 Mar 2008, 20:47:24 »
I tried to read what u suggested there Cheetah but got a 404 Error as on alot of these type of links on this site :banghead:
« Last Edit: 07 Jan 2009, 09:10:45 by bedges »

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: Problems with triggers and clients in MP mission
« Reply #4 on: 30 Mar 2008, 22:13:03 »
This is the link
« Last Edit: 07 Jan 2009, 09:10:14 by bedges »

Offline bedges

  • Administrator
  • *****
    • OFPEC The Editing Center
Re: Problems with triggers and clients in MP mission
« Reply #5 on: 01 Dec 2008, 19:26:35 »
For completeness I should point out that the link in Cheetah's post was just incorrectly formatted. The file does indeed exist here.