Home   Help Search Login Register  

Author Topic: Detect,then seek&destroy A.I  (Read 531 times)

0 Members and 1 Guest are viewing this topic.

BraZilkill

  • Guest
Detect,then seek&destroy A.I
« on: 24 Nov 2004, 03:42:27 »
I'm making a mision on Nogova map,where the player(you)are on West and the East main base is on desert land in SW of nogova.There are some patrol units along the board,but the main troop are guarding the airport at SAFE.When the alarm jingles detecting enemy unit by some east unit patrol in East territory,then this group of units or vehicles(main base) go for a hunting at exactly position when the trigger activate for the first time like Far Cry AI,and desactivate only if the west unit is dead or after some period of time can't found any west unit by main group.I am novice in scripting,and any idea is welcome.

And SORRY my bad english....

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Detect,then seek&destroy A.I
« Reply #1 on: 24 Nov 2004, 06:20:37 »
Check my switch trigger tute in the ed depot.

:beat: *Gets Shot* :beat:

Uldics

  • Guest
Re:Detect,then seek&destroy A.I
« Reply #2 on: 24 Nov 2004, 06:58:37 »
I use simple idea in my missions (none released yet, needs polishing, dont have time). A trigger over east (enemy) territory (or the whole island, whatever).
Name: detectedguys.
Repeatedly activated.
West detected by east.
Condition: this.
On activation: defenders move position (list detectedguys select 0)
On deactivation: defenders move position object xxxxx

defenders is the group, which is on stand-by for enemy (player)
xxxxx is the number of the closest object of defenders waiting position, could also any position be used, just easier this way.
If you are making a single player mission, then in some occasions you could use player in stead of (list detectedguys select 0) in the trigger.

BraZilkill

  • Guest
Re:Detect,then seek&destroy A.I
« Reply #3 on: 24 Nov 2004, 18:32:39 »
Where the link tutorial dmakatra?Post on plz
Will be great if it is possible...

BraZilkill

  • Guest
Re:Detect,then seek&destroy A.I
« Reply #4 on: 24 Nov 2004, 18:39:46 »
Has it works,Uldics???? ::)
I'm making a mission similar yours...Need any script and wp or just some commands functions???

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Detect,then seek&destroy A.I
« Reply #5 on: 24 Nov 2004, 18:50:45 »
Where the link tutorial dmakatra?Post on plz
Will be great if it is possible...

I'm too lazy. ;D Look in the ed depot.

:beat: *Gets Shot* :beat: