[AI] cRoot:Get():ForEachMob
#3
(01-26-2015, 04:57 AM)xoft Wrote: What would it be "Finding" the mob by? (Find uses fuzzy matching, DoWith uses exact matching.)

Once you have the mob's ID, you can call cWorld:DoWithEntityByID(). True, you need to know the correct cWorld.

Actually, it would be more like "ForEachPlayer" ... so "ForEachMob" ... that way we can loop through each mob and check what we did with it last and what it needs to do next.
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: 1 Guest(s)