Home   Help Search Login Register  

Author Topic: Unit Stop Go  (Read 1953 times)

0 Members and 1 Guest are viewing this topic.

Offline terran4999

  • Members
  • *
Unit Stop Go
« on: 12 May 2008, 06:54:48 »
Hey

How do you make a unit/group stop and go from its assigned WP's like in those escort missions. I know to make a unit stop is

Code: [Select]
dostop unitname
i dont know how to make a unit move again

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: Unit Stop Go
« Reply #1 on: 12 May 2008, 21:38:46 »
You may use lockWP to avoid the unit or group will proceed to next waypoint, and meanwhile you may order the group to move anywhere else. When the task is done, use the same command to unlock waypoints, so the unit or group will proceed with next waypoint.

Offline terran4999

  • Members
  • *
Re: Unit Stop Go
« Reply #2 on: 13 May 2008, 02:57:36 »
So i created a unit call "sold" and gave him a few WP's and then I created two radio activatied trigger
on with:
Code: [Select]
sold lockWP true
 the other with

Code: [Select]
sold lockWP false
is that correct??

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: Unit Stop Go
« Reply #3 on: 13 May 2008, 08:31:14 »
Yes.

Offline terran4999

  • Members
  • *
Re: Unit Stop Go
« Reply #4 on: 14 May 2008, 21:19:16 »
Yeah, that didn't work. Do anyone have any ideas.  :blink:
« Last Edit: 14 May 2008, 23:07:10 by terran4999 »

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: Unit Stop Go
« Reply #5 on: 15 May 2008, 20:04:18 »
What didnt work? Which was the expected effect?

Offline terran4999

  • Members
  • *
Re: Unit Stop Go
« Reply #6 on: 20 May 2008, 21:39:20 »
the command "sold lockWP true/false" in the radio triggers didn't work. the unit just kept moving

Offline Gcfungus

  • Members
  • *
Re: Unit Stop Go
« Reply #7 on: 20 May 2008, 23:49:24 »
I'm not sure about this, but have you tried using the DisableAI Command

For example:
Code: [Select]
aP DisableAI "MOVE"
-=GC=-Fungus1999
The object of war is not to die for your country, but to make the other bastard die for his.
~George Patton

Offline terran4999

  • Members
  • *
Re: Unit Stop Go
« Reply #8 on: 21 May 2008, 01:49:21 »
That worked to stop the unit. How do you make it move again??

I am just trying to create an escort mission where i get the ability to radio my escort truck to stop and go as i clear the path like in the campaign.  :P :P
« Last Edit: 21 May 2008, 02:01:50 by terran4999 »

Offline johnnyboy

  • OFPEC Patron
  • ****
  • Matan los Pantalones!!!
Re: Unit Stop Go
« Reply #9 on: 21 May 2008, 02:21:28 »
I believe:

aP enableAI "MOVE"
El Cojon: "Do you like to Tango?"
You: "Only in Bagango."
Download Last Tango in Bagango and discover how El Cojon earned his name...

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re: Unit Stop Go
« Reply #10 on: 21 May 2008, 03:19:35 »
I believe enableAI is an ArmA only command.


Planck
I know a little about a lot, and a lot about a little.

Offline terran4999

  • Members
  • *
Re: Unit Stop Go
« Reply #11 on: 21 May 2008, 03:39:31 »
(enable/disableAI "move") command would not work; has anybody made an escort mission before that would know how to radio units to move and stop

thanks  :clap:

Offline Mr.Peanut

  • Former Staff
  • ****
  • urp!
Re: Unit Stop Go
« Reply #12 on: 22 May 2008, 17:40:03 »
LockWP will work, but not if the unit is between WPs. If lockWP TRUE and the unit is between WPs then the unit will stop when it reaches its next WP.  Plus if you read the COMREF entry for the lockWP command, you will see it needs to be applied to the unit's group, not the individual.

Try
Code: [Select]
group sold lockWP TRUE
« Last Edit: 22 May 2008, 17:44:35 by Mr.Peanut »
urp!

Offline terran4999

  • Members
  • *
Re: Unit Stop Go
« Reply #13 on: 22 May 2008, 20:11:29 »
Never mind, I solved it by extracting the missions in the campaign and figured out what they did. Thanks for all your inputs  :good: :good: :good:
« Last Edit: 23 May 2008, 00:51:01 by terran4999 »