Home   Help Search Login Register  

Author Topic: Getting a group to continue its WPs  (Read 1623 times)

0 Members and 1 Guest are viewing this topic.

Offline icarus_uk

  • Members
  • *
  • LiarLiarPants Inflame True
    • [furryclan]
Getting a group to continue its WPs
« on: 14 Feb 2003, 22:35:35 »
I have a unit that moves along some WPs, when it gets to one of its WPs a script runs and tells the unit to do some funky animations.  How do I then get the unit to carry along its designated WP path?

Offline Tomb

  • Contributing Member
  • **
  • in2 Metal? Go 2 my sig
Re:Getting a group to continue its WPs
« Reply #1 on: 14 Feb 2003, 22:51:18 »
dunno man, try to add a switch trigg. & put the anim.spells in between two WP's instead.

maybe a condition in the trigger - firing AFTER the anims, thus: cond.= true after the anims?!

Offline icarus_uk

  • Members
  • *
  • LiarLiarPants Inflame True
    • [furryclan]
Re:Getting a group to continue its WPs
« Reply #2 on: 15 Feb 2003, 01:58:28 »
That sounds stupid! :P

Is there a command I can use to tell said man to move to said WP ?  Like what you do when you skip out WPs?
« Last Edit: 15 Feb 2003, 01:58:47 by [icarus_uk] »

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Getting a group to continue its WPs
« Reply #3 on: 15 Feb 2003, 02:18:41 »
I had a similar circumstance but with no problems .... once the loons had done the animation thing the script ended and they just wandered off to the next WP.    

What happens?   Do they do the funky stuff and then just stand there?
Plenty of reviewed ArmA missions for you to play

Offline icarus_uk

  • Members
  • *
  • LiarLiarPants Inflame True
    • [furryclan]
Re:Getting a group to continue its WPs
« Reply #4 on: 15 Feb 2003, 02:24:38 »
Well the script isnt going to end until hes moved along his WPs.  

Its a simple script that makes a man squat down next to a rook and go for a crap, then hes meant to carry on his WPs and run off back to his truck, the the script does more things.

Except hes not running back to his truck!

Offline Chris Death

  • Former Staff
  • ****
  • Finally Death's gonna get ya
    • OFPEC
Re:Getting a group to continue its WPs
« Reply #5 on: 15 Feb 2003, 04:13:29 »
Icarus - just a quick example, on how to do it:

wp1: move + exec script
wp2: synced to a switch trigger (waiting for a condition
to be true at the end of the script - or where u want it to
be true)

wp3: move (next waypoint)

==> unit moves to wp1, executes the commands from
the script - script says: icarus_script1 = true
switch trigger tells unit to continue it's way from wp2 to
wp3

~S~ CD
« Last Edit: 15 Feb 2003, 04:14:57 by Chris Death »
Dont argue with idiots....they will bring you down to their level and beat you there with experience.

How to use Waypoint type Scripted

Offline Sui

  • Former Staff
  • ****
    • OFPEC
Re:Getting a group to continue its WPs
« Reply #6 on: 15 Feb 2003, 09:13:26 »
Try:

"dofollow (leader group)" foreach units group

That'll make all unit in group get back into formation, and the leader will continue on their waypoints...

Offline icarus_uk

  • Members
  • *
  • LiarLiarPants Inflame True
    • [furryclan]
Re:Getting a group to continue its WPs
« Reply #7 on: 15 Feb 2003, 18:47:02 »
Nope.  Doesnt work.  I have the swtich trigger setup, but the trigger activates and my unit just stands there looking stupid.

Offline Tomb

  • Contributing Member
  • **
  • in2 Metal? Go 2 my sig
Re:Getting a group to continue its WPs
« Reply #8 on: 15 Feb 2003, 19:18:30 »
 ::) you DID off course add a "_x switchmove ""NULL""" foreach morons

just before the scroll ends?!

Offline Tomb

  • Contributing Member
  • **
  • in2 Metal? Go 2 my sig
Re:Getting a group to continue its WPs
« Reply #9 on: 15 Feb 2003, 19:20:33 »
see!  :D

Offline icarus_uk

  • Members
  • *
  • LiarLiarPants Inflame True
    • [furryclan]
Re:Getting a group to continue its WPs
« Reply #10 on: 15 Feb 2003, 19:25:24 »
There is only one unit, as indicated in my first post by the phrase;

"I have a unit that moves along some WPs"
« Last Edit: 15 Feb 2003, 19:25:45 by [icarus_uk] »

Offline Tomb

  • Contributing Member
  • **
  • in2 Metal? Go 2 my sig
Re:Getting a group to continue its WPs
« Reply #11 on: 15 Feb 2003, 21:35:51 »
...and?

bob switchmove "null"    (or playmove "null")

...should do  ??? :) no matter if it was a playmove or switchmove

Offline icarus_uk

  • Members
  • *
  • LiarLiarPants Inflame True
    • [furryclan]
Re:Getting a group to continue its WPs
« Reply #12 on: 15 Feb 2003, 21:49:54 »
He gets nulled, but just stands there still looking like a pillock.

Offline Tomb

  • Contributing Member
  • **
  • in2 Metal? Go 2 my sig
Re:Getting a group to continue its WPs
« Reply #13 on: 15 Feb 2003, 21:59:21 »
hmm, odd...  ???


well, anyways, if it's just one d00d then why put this line:

Quote
Getting a group to continue its WPs

-as thread title?  :afro:


you should KNOW by now that there's not enough time for sub-title reading, as WW-III is about to begin.  :gunman:

Offline icarus_uk

  • Members
  • *
  • LiarLiarPants Inflame True
    • [furryclan]
Re:Getting a group to continue its WPs
« Reply #14 on: 15 Feb 2003, 23:23:41 »
Cause a single unit is a group containing one person!