Results 1 to 3 of 3

Thread: Trigger failure in server

  1. #1
    I've been struggling with an old mission from 1.04 where a heli trigger does not work anymore in 1.05:
    Evac is called with radio and chopper lands as it should.
    I have a waypoint init for chopper which says <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">chopper1 FlyInHeight 0;[/QUOTE]
    and then a trigger which has <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">Cond&#58; &#40;alive chopper1&#41; and &#40;player in chopper1&#41;
    Init&#58; chopper1 FlyInHeight 80;[/QUOTE]
    In 1.04 this worked and when I entered the chopper rose and flew back to base.
    Now it works in editor but when I run it in dedicated server the trigger won&#39;t work.....
    puzzled

  2. #2
    Staff Sergeant
    Join Date
    Jan 25 2002
    Location
    Manchester, GB
    Posts
    348
    Might be the way the 1.05 dedi handles the player, cause the player is local to the client machine, not the server. Try setting your team to say &#39;Group1&#39;, then use
    Cond: (alive chopper1) and (leader group1 in chopper1)
    Init: chopper1 FlyInHeight 80;
    Or if you dont have many playable units (1-5) try naming them each and check if they are in the chopper.
    Also if its a big group, try using the
    ({_x in chopper1} count units group1 == {alive _x} count units group1)
    in the cond field. This was given to me in a prev post, searching for similar querys may help your plight as well.

    Cheers

    GC

  3. #3
    Thanks m8&#33;&#33; Now it works.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •