Home   Help Search Login Register  

Author Topic: 2 trigger questions and 1 waypoint  (Read 652 times)

0 Members and 1 Guest are viewing this topic.

Offline penguinman

  • Contributing Member
  • **
  • Money is worthless, just paper, ink, and threads
2 trigger questions and 1 waypoint
« on: 21 Nov 2004, 06:08:45 »
#1. how do I make it so only after a certain trigger is activated is it possible to activate another trigger?

#2. how do I make a trigger start a countdown that after it reaches zero another trigger is activated. but if another trigger is activated before the countdown reaches zero the trigger will not activate.  ??? lol i confused myself just typing that and i forgot the question. ok I got it now, I know how to put it:

I have a group all AI, they run to a spot and activate a trigger. that trigger activates a count down from 20. if the player dosent get to a certain spot and activate a trigger before the count down reaches zero, another trigger is activated that fails the mission. BUT
 if the player activates the trigger before the 20 secs is up
the trigger that fails the mission is not activated.
Thank you for bearing with me. I hope you got all that.

#3. how do i make AI men run as fast as the player can. i mean like:
you all had this happen:

you are being chased by an enemy tank and you run off expecting your men to follow, you hold shift for extra speed but after about 30 seconds you get this dreadful question.
2: where are you?
3: where are you?
4: where are you?
and so on.
how do I make AI be able to run as fast as the player?
« Last Edit: 21 Nov 2004, 06:09:20 by penguinman »

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:2 trigger questions and 1 waypoint
« Reply #1 on: 21 Nov 2004, 09:11:39 »
1) make the 2 trigers like that

triger 1 (activates 1st)
condition : whatever u want
on activasion : whatever u want; act2ndtrig = true

triger 2 (activates second)

condition : whateverUWant and act2ndtrig
on activision : whateverUWant

prooly not clear :P but u shud understand w/ lil expiremneting

2) 2 trigers again :D

triger 1 (activates 1st)
countdown = 20
condition : whatever u want
on activasion : whatever u want
on deactivision : Loseobj = true

triger 2 (activates second)

condition : Loseobj
on activision : whateverUWant

3) u prooly cant :P

but try seting them 2 aware and very fast mebe teyll b lil faster :P

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

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:2 trigger questions and 1 waypoint
« Reply #2 on: 21 Nov 2004, 21:31:00 »
Hey, LCD!  :wave:


3.    I suspect this is hardcoded deep inside the game engine.   Anyway, it isn't mission editing, it's changing the game.
Plenty of reviewed ArmA missions for you to play

Offline penguinman

  • Contributing Member
  • **
  • Money is worthless, just paper, ink, and threads
Re:2 trigger questions and 1 waypoint
« Reply #3 on: 21 Nov 2004, 22:05:39 »
well:
1:thank you lcd; solved

2: i dont understand you, try and fix your typos

3:can you do that by editing the config of an addon like using pbo dycryptor. if you can then after you change what you want how do you save it and make it PBOed again?

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:2 trigger questions and 1 waypoint
« Reply #4 on: 21 Nov 2004, 22:23:41 »
me ? fix me typos ? u know who ur talkin wit m8 ?

*shoots the pinguin :P

j/k d00d

just do like the 1st tingy with a time limit and on deactivision :P did u try doing what i told ya ?

ohh and

deactivision field is the ting after on activision field

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

Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
Re:2 trigger questions and 1 waypoint
« Reply #5 on: 21 Nov 2004, 22:31:15 »
2: (3 triggers)
Trigger1: countdown
delay:  min:20 max:20 (whatever the other thing is for delay):20
activated by: whatever you want (people being in it I think)
On activation: CountComplete = true

Trigger2: player activated
activated by: player present (group to him)
on activation: ObjComplete = true

Trigger3: failure
Type:end#1-6 (pick one) or loose
activated by: Countcomplete and !(ObjComplete)
when the first trigger ends counting it makes a global variable true but when the player activates the second one he makes something else true, and the 3rd checks to see that the count varible is true and the player variable is false

3:no you can't, but to answer the second question, you would use a pbo encryptor (i use makepbo)

Edit: LCD beat me. oh well, i explained it in detail anyway
« Last Edit: 21 Nov 2004, 22:32:16 by Triggerhappy »

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:2 trigger questions and 1 waypoint
« Reply #6 on: 21 Nov 2004, 22:32:32 »
and remember to get premision from addon makers b4 tinkering with addons

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

Offline General Barron

  • Former Staff
  • ****
  • Semper Fi!
Re:2 trigger questions and 1 waypoint
« Reply #7 on: 21 Nov 2004, 22:57:34 »
3:can you do that by editing the config of an addon like using pbo dycryptor. if you can then after you change what you want how do you save it and make it PBOed again?

The problem is, the AI doesn't run in a perfectly straight line, at the exact same speed, like the player. Make sure they are in "aware" mode, not combat or stealth mode, to fix that as much as possible. But also, the AI will only sprint when they are far enough behind the player; then they stop sprinting, and fall behind again, and that is how they end up way back there.

If you wanted to edit a config, I'd suggest replacing the "run" animations with the "sprint" ones. That way, the AI can ONLY sprint at full speed, instead of running. But that is getting pretty complicated, unless you want to learn all about animation configs....
HANDSIGNALS COMMAND SYSTEM-- A realistic squad-control modification for OFP
kexp.org-- The best radio station in the world, right here at home! Listen to John Richards!