Home   Help Search Login Register  

Author Topic: trigger activation second time activated  (Read 735 times)

0 Members and 1 Guest are viewing this topic.

Offline Capt Ryan

  • Members
  • *
  • Heil Myself !
    • Capt Ryans World War II Adventures
trigger activation second time activated
« on: 20 May 2003, 21:04:39 »

I surfed around but cant find an answer to this :

Is it posible to , or how to let the trigger only be activated the second time troopers/player pass it  - Repeat or timer wont do .




Ryan

Capt Ryans WWII Adventures -  http://www.ofpww2.dk

Offline Terox

  • Former Staff
  • ****
  • Follow the Sappers!
    • zeus-community.net
Re:trigger activation second time activated
« Reply #1 on: 20 May 2003, 22:43:41 »
I dont know what you want to do with the trigger, bit what you could do is have the trigger run a script

_________________________________________________________________
In the trigger
On Activation: [this] exec "myscript.sqs"
_____________________________________________________________________
In your init.sqs type the following line
count= 0
_______________________________________________________________________
;;"myscript.sqs"

count = count+1
?(count==2) goto "Donetwice"
goto "End"

#Donetwice
(Enter the command lines you wish to happen when the trigger is activated on the second time)

#End
Exit
« Last Edit: 20 May 2003, 22:45:53 by Terox »
Zeus ARMA2 server IP = 77.74.193.124 :2302
Teamspeak IP = 77.74.193.123

Offline Capt Ryan

  • Members
  • *
  • Heil Myself !
    • Capt Ryans World War II Adventures
Re:trigger activation second time activated
« Reply #2 on: 23 May 2003, 16:37:16 »
Thanx  ill try that


The reason for the use is this  -

The Player/troopers in cargo of a plane in flying route to dropzone will pass the trigger once in flight   - the very same trigger shut only be activated when the player cross the trigger on ground the second time as its works as a navigation hint - I know how to exclude the trigger from being activated from planes , but the trigger is grouped to player for only his  activasion  and therefor its triggered by passing in flight -

It will also come in very handy in other situations  ;o)


Ryan

Capt Ryans WWII Adventures -  http://www.ofpww2.dk

Offline Doolittle

  • Contributing Member
  • **
  • _this select 0
Re:trigger activation second time activated
« Reply #3 on: 29 May 2003, 00:14:03 »
If you have it just grouped to player then do Condition:
Code: [Select]
this and (getPos thisList) select 2 < 3...or maybe..
Code: [Select]
this and player in thisList and (getPos player) select 2 < 3Doolittle

Offline Capt Ryan

  • Members
  • *
  • Heil Myself !
    • Capt Ryans World War II Adventures
Re:trigger activation second time activated
« Reply #4 on: 17 Jun 2003, 20:24:20 »

Thanx very much   -    :o

Ryan

Capt Ryans WWII Adventures -  http://www.ofpww2.dk