Data Realms Fan Forums
http://forums.datarealms.com/

AI Ignoring a certain event.
http://forums.datarealms.com/viewtopic.php?f=73&t=25308
Page 1 of 1

Author:  Coops [ Wed Aug 24, 2011 9:04 pm ]
Post subject:  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?

Author:  Nonsequitorian [ Wed Aug 24, 2011 11:22 pm ]
Post subject:  Re: AI Ignoring a certain event.

You could make it not gib, but instead make it an AEmitter and self.ToDelete = true it.

Author:  Coops [ Thu Aug 25, 2011 1:17 am ]
Post subject:  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.

Author:  Nonsequitorian [ Thu Aug 25, 2011 11:53 am ]
Post subject:  Re: AI Ignoring a certain event.

No problemo.

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/