Home   Help Search Login Register  

Author Topic: Stupid ai command  (Read 427 times)

0 Members and 1 Guest are viewing this topic.

BrAinOfJ

  • Guest
Stupid ai command
« on: 24 Aug 2004, 13:45:26 »
Ive made a mission start with a group of guys flying as cargo in hawks c130 airplane simply using guy moveincargo c130. The player is one of these guys. When the c130 hits its mark, it runs a script that ejects all the guys using guy action ["EJECT",c130].
All works perfectly, time after time... EXCEPT the player is part of a group, not the leader. and as soon as each guy hits the ground, the leader calls out "guy board c130". Ive tryed unassigning the leader using unassign guy but he still yells.

Im trying to avoid keeping the guys out of a group until they have landed, so im looking for an alternative.. anyone got any ideas ?

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Stupid ai command
« Reply #1 on: 24 Aug 2004, 13:48:32 »
As well as using the moveInCargo command, use an assignAsCargo command.     Your unAssign commands (check the syntax just to make sure) should then work.

The problem is that if you just use moveInCargo the game can get confused as to whether the loons are assigned to a vehicle or not.    
Plenty of reviewed ArmA missions for you to play

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:Stupid ai command
« Reply #2 on: 24 Aug 2004, 13:54:41 »
allso use the ordergetin false thingy

dont remember da corect syntax :P so check da comand referance ;D ;)

@ macca : thx 4 ur sig ;)

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

Tarados Qeng

  • Guest
Re:Stupid ai command
« Reply #3 on: 24 Aug 2004, 14:40:34 »
What LCD and macguba said is true, but when I had the same problem, I solved it the hard way...

First off, I named every single soldier. Then, I made a script like this that was activated shortly after my eject script:
_________________
unassignVehicle off1
unassignVehicle off2
unassignVehicle off3

unassignVehicle mike1
unassignVehicle mike2
unassignVehicle mike3
unassignVehicle mike4
unassignVehicle mike5
unassignVehicle mike6
unassignVehicle mike7

unassignVehicle adam1
unassignVehicle adam2
unassignVehicle adam3
unassignVehicle adam4
unassignVehicle adam5
unassignVehicle adam6
unassignVehicle adam7

unassignVehicle david1
unassignVehicle david2
unassignVehicle david3
unassignVehicle david4
unassignVehicle david5
unassignVehicle david6
unassignVehicle david7


[off1, off2, off3, mike1, mike2, mike3, mike4, mike5, mike6, mike7, adam1, adam2, adam3, adam4, adam5, adam6, adam7, david1, david2, david3, david4, david5, david6, david7] allowGetIn false
_________________

Offline The-Architect

  • Former Staff
  • ****
  • Bite my shiny metal...
    • Bob's Un-official Flashpoint Page
Re:Stupid ai command
« Reply #4 on: 25 Aug 2004, 10:32:29 »
Use Stirling Silver's script,

http://www.ofpec.com/editors/browse.php?browsewhat=2&category=2_4

it unassigns the units for you.
James Andrew Wilkinson 1977 - 2005 R.I.P.
"If it ain't the friggin' incoming it's the friggin' outgoing. Only difference is who gets the friggin' grease, and that ain't no friggin' difference at all."