Home   Help Search Login Register  

Author Topic: Add action..  (Read 1397 times)

0 Members and 1 Guest are viewing this topic.

veston pants

  • Guest
Re:Add action..
« Reply #15 on: 24 Sep 2004, 10:30:16 »
Hmmm...the triggers don't seem to fire now.
I've grouped the triggers to me being present, as they cover a number of res units coz they are placed over a res camp.
Condition field end#1:
this and objecpart1 and objecpart2 and (player in thislist) and (cV1 in thislist) and (not (cV2 in thislist))
Condition field end#4:
this and objecpart1 and objecpart2 and (player in thislist) and (cV1 in thislist) and (cV2 in thislist)
but I've only tested em a couple of times.

I've got the chopper to land, the pilots to get out and the civ to join em, them all to get back in the chopper and land back at the enemy base.

In the trigger that I use to get the civ to join me and setcaptive to false I've put in the condition:
this or NOT(alive pl1) and NOT(alive pl2)

pl1 and pl2 being the pilots.

hopefully this will mean if the pilots land and the civ joins them, as they are walkin back to the chopper if i kill both pilots the civ will join me automatically. Is this correct?

This hopefully covers the steal the chopper scenario.

Thanks Mac.

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Add action..
« Reply #16 on: 24 Sep 2004, 11:18:56 »
I don't know how the priorities work between and and or.    This line

this or NOT(alive pl1) and NOT(alive pl2)

might need more brackets.

thislist commands will work correctly only if the units to which you are referring would be captured by the activation box.   I suspect grouping the trigger to the player is going to be unhelpful in this case.

When you've got multiple logic things going on like this, it's a good idea to get a way from the computer for a bit.   Write down on a piece paper, graphically or in words, what you are trying to do.     You must have it crystal clear in your head before trying to write condition fields for triggers, otherwise it won't work and you end up going round in circles.

Quote
hopefully this will mean if the pilots land and the civ joins them, as they are walkin back to the chopper if i kill both pilots the civ will join me automatically. Is this correct?

NEVER write anything like this in a post.   Try it first.   Experiment, experiment, experiment.    The forum is where you turn when you can think what else to do.
Plenty of reviewed ArmA missions for you to play

veston pants

  • Guest
Re:Add action..
« Reply #17 on: 24 Sep 2004, 11:52:16 »

When you've got multiple logic things going on like this, it's a good idea to get a way from the computer for a bit.   Write down on a piece paper, graphically or in words, what you are trying to do.     You must have it crystal clear in your head before trying to write condition fields for triggers, otherwise it won't work and you end up going round in circles.NEVER write anything like this in a post.   Try it first.   Experiment, experiment, experiment.    The forum is where you turn when you can think what else to do.

Lol, I think the problem syems from not spending enough time on the comp. ;D

In theory its simple, I need 2 alternate endings that will incorporate 2 different end cutscenes. One where there is dialogue between you, the Civ and the res leader, and one where there is dialogue tween you, the Civ, res leader and the woman who helped out. The practical parts the killer.

I'd just thought of the pilot trigger this morn, and I'm pleased to inform you, it works. I think I'm really getting the hang of this scripting lark ;D

Thanks very much for all the help anyway dude :)