Home   Help Search Login Register  

Author Topic: Easy Trigger Question  (Read 441 times)

0 Members and 1 Guest are viewing this topic.

OFP-SpecOps

  • Guest
Easy Trigger Question
« on: 13 Oct 2003, 23:56:18 »
This should be easy for someone to answer.
I am making a mission where I have to locate and destroy three cached ammo sites. I want to place a demo charge on the ammo crates to destroy them. I named the crates at the sites c1, c2 & c3.

Now the question; how do I activate the trigger to end the mission after all three sets of ammo crates are destroyed?

Offline rhysduk

  • Former Staff
  • ****
Re:Easy Trigger Question
« Reply #1 on: 14 Oct 2003, 00:06:06 »
OFP-SpecOps

Use a END # type trigger witht he following features..

Type - END #

Condition - EITHER :-

not alive c1 AND not alive c2 AND not alive c3

OR

Using the getdammage command create a small syntax line/s so that when the crates are at a certain dammage level the script can be activated.

Hope that works for you..

P.S - the # in END # detonates what value of END trigger you want this specific trigger to be.. IE there might be other values/objectives/ or conditions that can be met to make the mission/intro end.. Get me ;D

Rhys
Reviewed Missions Board: Please Read the User's Guide before posting!

Pride and Joy 1 (HW100-T)

OFP-SpecOps

  • Guest
Re:Easy Trigger Question
« Reply #2 on: 14 Oct 2003, 00:18:42 »
Thanks rhysduk,

I was using the not alive in the trigger but it wasn't working for the ammo crates. I have used it in the past for tanks but not objects. I thought that may have been the problem. I will have another look and see if I can fix it.

OFP-SpecOps

  • Guest
Re:Easy Trigger Question
« Reply #3 on: 14 Oct 2003, 01:16:23 »
It worked rhysduk, my syntax must have been wrong. I cut & pasted your line into my trigger and it worked. Thanks again.  :)

Offline rhysduk

  • Former Staff
  • ****
Re:Easy Trigger Question
« Reply #4 on: 14 Oct 2003, 20:30:14 »
No Problem Spec Ops ;D

Topic Solved ?

Rhys
Reviewed Missions Board: Please Read the User's Guide before posting!

Pride and Joy 1 (HW100-T)