Jump to content

AI not respawning and walking through closed door


Recommended Posts

I have an created an AI. It's a robot.

It moves nicely between two patrol nodes, in a volume that's linked to a region.

And it shoots at me very nicely.

but:

it moves straight though the door it's behind! Any ideas? (reducing the size is not an option - it has to move through when it's open)

 

 

Also, I want my AI to respawn after it dies. I've tried the solution mentioned here, but it doesn't seem to be working. Is there any other way I can do this? Am I doing something wrong?

 

Update:

 

I've now set it up as follows:

 

for the first spawn, a trigger (set to trigger only once) leading to a spawner which spawns the CAIhuman for the first time

 

then, when it dies, it sends a message to a second trigger (set to trigger more often) leading to a spawner wich spawns it again

 

the problem I have now is that the second trigger, for the respawn, is set with a senddelay. But the senddelay doesn't work. As soon as the AI dies, when it's still doing its death animation, the new one spawns already causing a conflict and a crash.

 

Any ideas on what could cause the senddelay not to work?

 

(btw - I've solved the walking through the door problem by starting the AIvolume disabled and then letting the door send an enable message when it opens and a disable message when it closes smile.gif )

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Guidelines Privacy Policy.