Home   Help Search Login Register  

Author Topic: AI Suicidal?  (Read 484 times)

0 Members and 1 Guest are viewing this topic.

duckwilliamson

  • Guest
AI Suicidal?
« on: 09 Jul 2003, 23:17:42 »
I have a problem with my AI ...
I have the comps lock their wp (they are playable so they can be human and they respawn) and go to it
Once they are there they run a script which makes them move to locations and do things through a series of loops and domove's
The first thing they do is run to a flag and get in a random vehicle
They'll be driving along and suddenly the pull over, stop, get out, and die!
I have no idea why!
There is nowhere that I have any type of command that kills them ... they are committing suicide or something
Do they just not like me or is it something else?

Stalker

  • Guest
Re:AI Suicidal?
« Reply #1 on: 11 Jul 2003, 12:58:42 »
Maybe you'll show us the script ?

duckwilliamson

  • Guest
Re:AI Suicidal?
« Reply #2 on: 18 Jul 2003, 06:04:28 »
ok ya ... i have a liack of a connection right now so it may be a week, but i'll post it (or them)

... its messed up .. i ran another test where i was the passenger and we were driving along the suddenly the comp just disappeared!! ... meh

duckwilliamson

  • Guest
Re:AI Suicidal?
« Reply #3 on: 22 Jul 2003, 01:02:16 »
um ya ... about that ... 'tis kinda embarassing ... kinda like walking into public and forgetting to wear clothes ... :-[

anyways my script is about 1000 or so lines long so it is a little difficult to keep track of ... I had it so that the comp would kill itself if it was travelling at less than 2km/h and then teleport (setpos) to [0,0,0] ... this was a fatal error that i had passed over and had gone for help a little prematurely with ... so thanks for considering helping me ... but its fine now ...

just a note my map is really massive and is difficult to test (10hrs) so debugging is a little tedious so sorry for the sometimes dumb questions ...

anyways thx for anyone who cared to help ... i feel so dumb  :-[