Home   Help Search Login Register  

Author Topic: How to find out if a AI unit has "contact" ?  (Read 875 times)

0 Members and 1 Guest are viewing this topic.

Offline Wiper

  • Members
  • *
How to find out if a AI unit has "contact" ?
« on: 19 Nov 2002, 16:16:53 »
Hi folks,
I know there are some ways around it either by using knowsabouts for "enemy lists" or more or less complicated trigger constructs (?) but i'd rather like to find a "direct way" for it.

Basically there must be some kind of (core) function for the AI that lets it instantly react to enemy contact by default, like changing behaviour, combatmode and - of course, let them announce: "enemy soldier at 12 o'clock..."

But I still cant find any command which provides any return value in relation to the units "contact status" .... or at least some smart solution without polling or "scannig" a (possibly large) number of enemy units.

Any ideas for that ?

thanx
ww


Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:How to find out if a AI unit has "contact" ?
« Reply #1 on: 19 Nov 2002, 16:22:44 »
i think dat da AI will change its behaviour 2 danger (if its not defined 2 b like dat or stealth from da start) so basicly u have 2 ask if da AI is in danger behaviour  ;D

use da

behaviour commad

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

Offline Wiper

  • Members
  • *
Re:How to find out if a AI unit has "contact" ?
« Reply #2 on: 19 Nov 2002, 17:35:05 »
and what if they are already in "COMBAT" mode ?


Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:How to find out if a AI unit has "contact" ?
« Reply #3 on: 19 Nov 2002, 17:40:44 »
donno  ;D  ;)

LCD OUT
« Last Edit: 19 Nov 2002, 22:50:47 by LCD »
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

Gameer_77

  • Guest
Re:How to find out if a AI unit has "contact" ?
« Reply #4 on: 19 Nov 2002, 18:24:13 »
Don't use combat mode. Use "aware" ;)

Gameer

EDIT: LCD you fool  ::)
« Last Edit: 19 Nov 2002, 18:25:18 by Gameer »

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:How to find out if a AI unit has "contact" ?
« Reply #5 on: 19 Nov 2002, 22:44:57 »
y  ? ::)

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