| Data Realms Fan Forums http://45.55.195.193/  | 
|
| Modifying human AI? http://45.55.195.193/viewtopic.php?f=73&t=25585  | 
	Page 1 of 1 | 
| Author: | Awesomeness [ Mon Sep 19, 2011 11:06 pm ] | 
| Post subject: | Modifying human AI? | 
How can I make it so that when a sees something to kill, regardless of whether it has a weapon or not, it calls this function? Code: FireLaser(self);  | 
	|
| Author: | Awesomeness [ Tue Sep 20, 2011 12:14 am ] | 
| Post subject: | Re: Modifying human AI? | 
After lots of searching, I found that putting Code:    if self.Target ~= nil then FireLaser(self); end at the end of UpdateAI() worked. Maybe this will help someone else.  | 
	|
| Page 1 of 1 | All times are UTC [ DST ] | 
| Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/  | 
|