Home   Help Search Login Register  

Author Topic: Problem with alarm triggered by shots..  (Read 788 times)

0 Members and 3 Guests are viewing this topic.

Honza

  • Guest
Problem with alarm triggered by shots..
« on: 22 Jul 2003, 14:24:49 »
...new problem....I made a trigger which is set on by shots of my soldiers(8 units....named; unit1,unit2,..etc.)......the trigger sounds the alarm...after 10 seconds it should go off.....but little bugger just keep's hauling :(....how can I end this......??


in each unit's initialization field I wrote:

this addEventHandler ["fired",{shot1=true}]; shot1=false;

and added 3 trigger's :

First trigger

condition: shot1

on Activation: AlarmOn=true


Second trigger

condition: AlarmOn

On Activation: AlarmOff=true

Effect: alarm

Third trigger

condition: AlarmOff

On Activation: AlarmOn=false


.........please help! ???....don't know where I went wrong...

Honza

  • Guest
Re:Problem with alarm triggered by shots..
« Reply #1 on: 22 Jul 2003, 21:55:32 »
anybody? ???........it can't be that hard....can it?!

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Problem with alarm triggered by shots..
« Reply #2 on: 23 Jul 2003, 00:24:37 »
Is the second trigger set to repeatedly?

Presumably there is a countdown of 10   10    10  in the third trigger.
Plenty of reviewed ArmA missions for you to play

Honza

  • Guest
Re:Problem with alarm triggered by shots..
« Reply #3 on: 23 Jul 2003, 01:08:54 »
all the triggers are set to once and have a countdown period of 10 seconds.....is by any chance that the possible cause of my problem(s)?..............anyways if this is too messy to be done ??? :P, I'll just leave it out or try to do something else instead........but really thanks anyways! ;)

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Problem with alarm triggered by shots..
« Reply #4 on: 23 Jul 2003, 01:51:24 »
Yes that is the problem, the trigger must be set to repeatedly for the variable to switch it off.
Plenty of reviewed ArmA missions for you to play

Honza

  • Guest
Re:Problem with alarm triggered by shots..
« Reply #5 on: 23 Jul 2003, 15:20:54 »
.....general macguba....U the man! ;D.....thanks a million...I was like stuck with this for whole two days!!!.....

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Problem with alarm triggered by shots..
« Reply #6 on: 23 Jul 2003, 15:52:19 »
lol my pleasure.

If all is well then click the little green solved button at the bottom left.
Plenty of reviewed ArmA missions for you to play

Honza

  • Guest
Re:Problem with alarm triggered by shots..
« Reply #7 on: 23 Jul 2003, 16:09:08 »
 :P...never saw the little button thingy :-[....now some question will finally be solved for good! ;)