Home   Help Search Login Register  

Author Topic: Alarm off  (Read 1606 times)

0 Members and 1 Guest are viewing this topic.

Offline Dandy

  • Members
  • *
  • my teatcher say that there is 80% water in water
Alarm off
« on: 18 May 2003, 17:54:21 »
Hi!

I got a problem with a trigger. I got a trigger that will be activated and a alarm will be turnd on. I want it to be turnd off after 1 minit, But I dont know how to do this.  ???

Help and suggestions are appreciated.  :D
« Last Edit: 20 May 2003, 00:24:05 by Dandy »
Is there a question about monkeys? okay I gues not!

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Alarm off
« Reply #1 on: 18 May 2003, 18:46:51 »
Use the forum search function .... I've answered this a couple of times ... the secret is to use a variable to control the trigger that has the alarm sounding.
Plenty of reviewed ArmA missions for you to play

Offline Dandy

  • Members
  • *
  • my teatcher say that there is 80% water in water
Re:Alarm off
« Reply #2 on: 18 May 2003, 21:06:42 »
The word "variable" is Something that I cant say that is my speciality. But i found something similar at the FAQ search. So maby I can get it to work with som smal changes.

I think will report back here after I tryed it.

Thanks for the hint.
Is there a question about monkeys? okay I gues not!

Offline Dandy

  • Members
  • *
  • my teatcher say that there is 80% water in water
Re:Alarm off
« Reply #3 on: 19 May 2003, 00:11:39 »
The test mission I downloaded was a wery advanced script he hadd. The alarm turns on and off and on every 5 seconds if you are spotted.

And that is noth the way I want it, so I studie the work he hadd done, and manage to make it work with 3 triggers.

trigger 1 activation alarm=true
if spotted

trigger 2 activation alarm=false
if enemy dead in your area

trigger 3 condition alarm
sound: alarm
repetedly

And it works fine. No extra problems with playing, no "lags"
« Last Edit: 19 May 2003, 00:13:45 by Dandy »
Is there a question about monkeys? okay I gues not!

DarkTalent

  • Guest
Re:Alarm off
« Reply #4 on: 19 May 2003, 04:46:16 »
Any chance of getting a look at your source code for that, or the different set-up of the three triggers?

Offline Dandy

  • Members
  • *
  • my teatcher say that there is 80% water in water
Re:Alarm off
« Reply #5 on: 19 May 2003, 15:35:38 »
The name of the mission I downloaded si "DetectMostKnownEnemy.Abel" I found it whene I was searching the FAQ for alarm off. sample mission+scripts by Softegg.

Does that source help you?

And wath did you mean with:
"or the different set-up of the three triggers?"

Do you want me to write a text how I did the ting with the triggers?
Is there a question about monkeys? okay I gues not!

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:Alarm off
« Reply #6 on: 19 May 2003, 20:34:31 »
just put da next line in da triger on activision

[this] exec "stopalarm.sqs"

nd make script named stopalarm dat have

Code: [Select]
_trig = _this select 0

~60

_trig setpos [0,0,0]
exit

in it ;D

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

Offline Dandy

  • Members
  • *
  • my teatcher say that there is 80% water in water
Re:Alarm off
« Reply #7 on: 20 May 2003, 00:12:17 »
LCD, the Stopalarm tingi locks cool but I got it to work with 3 triggers, okay. IÂ'm only waiting for DarkTalent to answer my question. But maby I shuld lock at it one day.
Is there a question about monkeys? okay I gues not!

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:Alarm off
« Reply #8 on: 20 May 2003, 03:22:58 »
its jusr resource managing  ;)

3 trigs absorbs more resources dan 1 trig nd script but if u r not gonna make v. big mision - itdoesnt realy matter ;) :D

waitin 2 c da mision in da beta testin forums ;)

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

DarkTalent

  • Guest
Re:Alarm off
« Reply #9 on: 20 May 2003, 04:38:35 »
The name of the mission I downloaded si "DetectMostKnownEnemy.Abel" I found it whene I was searching the FAQ for alarm off. sample mission+scripts by Softegg.

Does that source help you?

Yes it did, ty. Neva mind tha other bit.

Offline Dandy

  • Members
  • *
  • my teatcher say that there is 80% water in water
Re:Alarm off
« Reply #10 on: 20 May 2003, 20:06:06 »
Maby you got some thing there :D

I think itÂ's time to start some thing new.

I only used scripting for Intro and outro.
maby I shuld try that script of yours.

beta testin forums  ??? hold on I havenÂ't sed any thing about a Beta testing mission, :-\ I still cant get the, "your killd briefing text to show up when you die. :(

And IÂ'm still working on the lip files :-\
Is there a question about monkeys? okay I gues not!