Home   Help Search Login Register  

Author Topic: Triggering waypoints for AI?  (Read 564 times)

0 Members and 1 Guest are viewing this topic.

Offline OFPfreak

  • Members
  • *
  • Who is da operation flashpoint freak now, freak?!
    • OFP NFS mod
Triggering waypoints for AI?
« on: 06 Nov 2004, 07:24:20 »
 ???... huh  ???... um  :P.. Does anyone know how to um  :P... trigger a waypoint for an AI? e.g. the player gets into the extraction place where a trigger is and a helicopter comes and lands? I tried it but the helicopter went to the waypoint on the start of the mission already! Is it a script i need to put in the folder or something in the "on activasion" or "condition"?
E.g. "condition: if "waypoint1" = Done" ?? Please tell me  :).. um..  :-[.. ok go away now im shy  :-\
ofp nfs REBORN! All new nitro, neon, customized cars, off-road, on-road, rally, bikes, racer models and more!
ofp nfs's homepage

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:Triggering waypoints for AI?
« Reply #1 on: 06 Nov 2004, 08:04:14 »
Try making the first waypoint for the chopper a Move waypoint at the place you want it to wait.  Change the 'Condition' from 'true' to something like: 'ReadyforExtraction'

Put a trigger at the extraction point that fires when the player is there and in the 'On Activation' field put:  'ReadyforExtraction = true'.  

The helicpoter will then wait at the move waypoint until the player fires the trigger.

If two waypoints are synchronised that means the two groups will not move on from these waypoints until both waypoints are complete.  It had no impact on controling groups that are moving to a waypoint.

Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
Re:Triggering waypoints for AI?
« Reply #2 on: 06 Nov 2004, 18:24:01 »
or you could put a waypoint where the chopper should wait, then of course the a waypoint where you want it to go, and have the trigger synchronized with the first waypoint and there you go

Offline OFPfreak

  • Members
  • *
  • Who is da operation flashpoint freak now, freak?!
    • OFP NFS mod
Re:Triggering waypoints for AI?
« Reply #3 on: 06 Nov 2004, 19:16:18 »
 :D thank you for that. and by the way ure talkin about synchronized.. what does that option actually do??  ???
ofp nfs REBORN! All new nitro, neon, customized cars, off-road, on-road, rally, bikes, racer models and more!
ofp nfs's homepage

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Triggering waypoints for AI?
« Reply #4 on: 06 Nov 2004, 19:55:14 »
Click the Synchro button and drag and drop a blue line from one thing to another.

If you join two waypoints belonging to different groups, the first group to arrive at that waypoint will wait there till the other one arrives at its waypoint.   They both move on at the same time.

If it's a trigger and a waypoint, the group will wait until the trigger is fired.

If the trigger is type switch ... well I could go on for a bit yet but hit the tutes in the Editors Depot - Tutorials - Getting Started, its all there.
Plenty of reviewed ArmA missions for you to play

kymandro

  • Guest
Re:Triggering waypoints for AI?
« Reply #5 on: 06 Nov 2004, 21:49:32 »
eh im not very smart so how i do things like that is i put a way point right next to the helecopter or what ever and have it be called like go or somthing and then i make a trigger taht says go=false and then make a way point for the ppl to go the the extraction zone or w/e and when they get there have that waypoint say go=true and the helocopter will then go there

if any one has a more... efective way to do taht i would like to hear

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:Triggering waypoints for AI?
« Reply #6 on: 06 Nov 2004, 23:00:42 »
What you are doing will make the helicopter come to the extraction point when your people get there.  That is fine.

Presumably your heli has a LOAD waypoint and your AI people have a GET IN waypoint.  To make the helicopter wait for the people to get in these waypoints need to be synchronised.  

As macguba says:
Quote
Click the Synchro button and drag and drop a blue line from one thing to another.
and
Quote
hit the tutes in the Editors Depot - Tutorials - Getting Started, its all there.