View unanswered posts | View active topics It is currently Mon Jul 22, 2019 9:58 pm



Reply to topic  [ 4 posts ] 
 AI Ignoring a certain event. 
Author Message
User avatar

Joined: Wed Feb 17, 2010 12:07 am
Posts: 1545
Location: That small peaceful place called Hell.
Reply with quote
Post AI Ignoring a certain event.
I've put something in my actor's jetpack that gibs causing the actor's AI to take notice of it and cease the jetpack, rendering it useless if not controlled by the player.

Is there a way to make it ignore a certain object when it gibs?


Wed Aug 24, 2011 9:04 pm
Profile
Data Realms SUPER Elite
Data Realms SUPER Elite

Joined: Thu Jun 03, 2010 10:06 pm
Posts: 3717
Location: Over there.
Reply with quote
Post Re: AI Ignoring a certain event.
You could make it not gib, but instead make it an AEmitter and self.ToDelete = true it.


Wed Aug 24, 2011 11:22 pm
Profile
User avatar

Joined: Wed Feb 17, 2010 12:07 am
Posts: 1545
Location: That small peaceful place called Hell.
Reply with quote
Post Re: AI Ignoring a certain event.
Well that's the thing, It relies on gibbing from the impulse of hitting the ground.

Then again I could add a velocity check and make it delete itself if the velocity drops.

I think this is done. Thank you for the help Non.


Thu Aug 25, 2011 1:17 am
Profile
Data Realms SUPER Elite
Data Realms SUPER Elite

Joined: Thu Jun 03, 2010 10:06 pm
Posts: 3717
Location: Over there.
Reply with quote
Post Re: AI Ignoring a certain event.
No problemo.


Thu Aug 25, 2011 11:53 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 4 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.014s | 15 Queries | GZIP : Off ]