Home   Help Search Login Register  

Author Topic: setwppos problem...  (Read 806 times)

0 Members and 1 Guest are viewing this topic.

Offline bedges

  • Administrator
  • *****
    • OFPEC The Editing Center
setwppos problem...
« on: 05 Apr 2005, 17:19:03 »
scenario -

there are several targets. each has a trigger next to it which activates when the target is destroyed. on activation, each sets a switch variable to true, and moves a 'search and destroy waypoint' to the destroyed target's position.

there is a chopper with patrol waypoints allocated. it follows these and cycles no problem. after the patrol 'cycle' waypoint, there is the 'search and destroy waypoint'. that cycle waypoint is synchronised with a switch trigger which activates when the switch variable is true.

with me so far? m'kay.

the problem: when any of the targets is destroyed, the chopper halts. it just stops. i had thought this was merely a pause as the ai calculated its flight path, but no. i've left it long enough and it ain't moving.

the waypoint reference id is correct (one more than the editor number, i.e. where chopper starts is waypoint #0, first editor-placed waypoint is #1 and so on) but nothing is budging it.

any ideas?

« Last Edit: 05 Apr 2005, 17:20:08 by bedges »

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:setwppos problem...
« Reply #1 on: 05 Apr 2005, 17:30:52 »
The new waypoint position may be too far away.   Choppers can only cope if their next waypoint is close enough.   You need about three waypoints to get from one end of an island to the other.
Plenty of reviewed ArmA missions for you to play

Offline bedges

  • Administrator
  • *****
    • OFPEC The Editing Center
Re:setwppos problem...
« Reply #2 on: 05 Apr 2005, 17:39:47 »
shyte.

cheers gubes. plan 'b' it is then...