Home   Help Search Login Register  

Author Topic: Delete ai script  (Read 511 times)

0 Members and 1 Guest are viewing this topic.

illmatic

  • Guest
Delete ai script
« on: 10 Apr 2004, 09:54:58 »
is it possible to delete the ai if it hasnt already been set to ai off??????
if it is can you tell me how i can do this.....ive came across it before in other ctf maps

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:Delete ai script
« Reply #1 on: 10 Apr 2004, 10:35:29 »
Umm..? You mean the disableai command? I don't think there is a way to detect if the command disableai has been used to a unit.

Deleting units can be done with the deletevehicle command using syntax deletevehicle unitname
Not all is lost.

illmatic

  • Guest
Re:Delete ai script
« Reply #2 on: 10 Apr 2004, 13:15:20 »
 :( im sure i saw it somewhere..... if you didnt disable ai in the menu the ai wouldnt appear in the map anyway... must be some editor trick or something

Offline Zombie

  • Members
  • *
  • Beware the night, the zombie walks among you
    • USI
Re:Delete ai script
« Reply #3 on: 10 Apr 2004, 13:30:28 »
no editor trick, but a script "trick".  In the description.ext file put this command:
disabledai = 1

when you preview in the editor the ai will be there, but when you run the mission itself, they are not there.

illmatic

  • Guest
Re:Delete ai script
« Reply #4 on: 10 Apr 2004, 13:46:38 »
ty m8

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:Delete ai script
« Reply #5 on: 10 Apr 2004, 19:18:36 »
Ah, you were talking about the AI selection in Multiplayer pool.  :o Given the new light I assume you were posting this in the Multiplayer board and got confused  >:( :P ;)
Not all is lost.

illmatic

  • Guest
Re:Delete ai script
« Reply #6 on: 10 Apr 2004, 20:08:02 »
lol, whooooopssie soz  ::) 8)