[AI] cRoot:Get():ForEachMob
#7
You might want to dial down on the frequency, otherwise you'll overload the server pretty soon. Only set the target once every second or so, that should be sufficient. Even better, distribute the load into multiple passes - for example four passes per second and pass #N processes entities for which (ID % 4) == N.
Reply
Thanks given by:


Messages In This Thread
[AI] cRoot:Get():ForEachMob - by wudles - 01-26-2015, 04:54 AM
RE: [AI] cRoot:Get():FindAndDoWithMob - by xoft - 01-26-2015, 04:57 AM
RE: [AI] cRoot:Get():FindAndDoWithMob - by wudles - 01-26-2015, 05:01 AM
RE: [AI] cRoot:Get():ForEachMob - by xoft - 01-26-2015, 05:21 AM
RE: [AI] cRoot:Get():ForEachMob - by wudles - 01-26-2015, 01:32 PM
RE: [AI] cRoot:Get():ForEachMob - by wudles - 01-26-2015, 02:42 PM
RE: [AI] cRoot:Get():ForEachMob - by xoft - 01-26-2015, 06:47 PM
RE: [AI] cRoot:Get():ForEachMob - by wudles - 01-27-2015, 01:00 AM
RE: [AI] cRoot:Get():ForEachMob - by xoft - 01-27-2015, 01:39 AM
RE: [AI] cRoot:Get():ForEachMob - by wudles - 01-27-2015, 03:02 AM
RE: [AI] cRoot:Get():ForEachMob - by wudles - 01-27-2015, 12:31 PM
RE: [AI] cRoot:Get():ForEachMob - by xoft - 01-27-2015, 06:21 PM



Users browsing this thread: 11 Guest(s)