Home   Help Search Login Register  

Author Topic: Getting AI to join your group  (Read 521 times)

0 Members and 1 Guest are viewing this topic.

Owens

  • Guest
Getting AI to join your group
« on: 19 Jun 2003, 16:21:14 »
I have a hostage situation where west rescue a west pilot from east.
I had to make the group leader a civi so they didnt fire at pilot.
Q1. But is there a way to make the pilot join the west group when a trigger happens and be able to command him. Will it need a script or just syntax in init field of the unit.

Q2. Is there a command for hold position cos my pilot keeps runnin round like a madman and ends up in the middle of a forest.

Thx
« Last Edit: 19 Jun 2003, 17:09:13 by Owens »

Iwesshome

  • Guest
Re:Getting AI to join your group
« Reply #1 on: 19 Jun 2003, 17:58:18 »
Quote
I had to make the group leader a civi so they didnt fire at pilot.
Try using this setcaptive true so you dont have to make civi group leader

Quote
Q1. But is there a way to make the pilot join the west group when a trigger happens and be able to command him. Will it need a script or just syntax in init field of the unit.
loon1 join loon2

Quote
Is there a command for hold position cos my pilot keeps runnin round like a madman and ends up in the middle of a forest.
- Use a Hold Waypoint

Head over to the Editor Depot and check out the Official and Unofficial Command Ref. Manuals  ;D
« Last Edit: 19 Jun 2003, 18:02:43 by Iwesshome »

Owens

  • Guest
Re:Getting AI to join your group
« Reply #2 on: 19 Jun 2003, 18:45:30 »
thx a lot...i can continue on mission now :D
ill go have a look at command refs then.
Thx

Iwesshome

  • Guest
Re:Getting AI to join your group
« Reply #3 on: 19 Jun 2003, 18:50:06 »
Don't forgot to hit the Solve button below....
« Last Edit: 19 Jun 2003, 18:51:12 by Iwesshome »

Owens

  • Guest
Re:Getting AI to join your group
« Reply #4 on: 19 Jun 2003, 22:16:17 »
The join thing aint working for some reason.

i Put this in the on activation field of trigger:
Code: [Select]
captive1 join playergrp; Captive2 join playergrpIm gettin an error from it for some reason, can you see anything that im doin wrong?
I think the error said something about expected array, am i missin some brackets somewhere or something like that?
thx
« Last Edit: 19 Jun 2003, 22:18:37 by Owens »

Offline Tomb

  • Contributing Member
  • **
  • in2 Metal? Go 2 my sig
Re:Getting AI to join your group
« Reply #5 on: 19 Jun 2003, 22:19:07 »
name the morons:

 cap1

  cap2


then use this code, matey:

[cap1, cap2] join Player :thumbsup:  :-*



Owens

  • Guest
Re:Getting AI to join your group
« Reply #6 on: 19 Jun 2003, 23:24:47 »
Its working now. Thx a lot Tomb ;D