Jump to content


Photo

The ANY object filter


Best Answer Ridder Geel, 01 August 2013 - 11:23 AM

I think the any might be for objects have both the monster and the infantry, and that those would be an exception to the general rule, but not entirely sure about that :p

Go to the full post


  • Please log in to reply
3 replies to this topic

#1 Koo294

Koo294
  • Members
  • 16 posts
  • Location:Installation 01
  • Projects:Speak of a ring travels far...
  •  Top Hobbitses

Posted 01 August 2013 - 11:17 AM

So I basically understand object filters, for example

 

ObjectFilter = NONE +INFANTRY

 

will only allow infantry through. But how does ANY work? I've been searching a bit and i can't find anything to explain it. For example:

 

ObjectFilter = ANY +INFANTRY -MONSTER -MACHINE -CAVALRY -ARMY_OF_DEAD

 

So it allows infantry through, and not monsters, machines, cavalry or army of the dead. But what about everything else? Do they pass or fail this filter? If they all pass why have +anything, and if they fail why have -anything? Or is there a specific list of unit types that pass the ANY filter?



#2 Ridder Geel

Ridder Geel

    Master Yelloh

  • T3A Staff
  • 10,845 posts
  • Location:The Netherlands (AKA: Holland)
  • Projects:RC Mod + SEE + RTS Engine
  •  The Dangerous T3A Team Chamber Member
  • Division:BFME
  • Job:T3A Staff

Posted 01 August 2013 - 11:23 AM   Best Answer

I think the any might be for objects have both the monster and the infantry, and that those would be an exception to the general rule, but not entirely sure about that :p


Ridder Geel

#3 Koo294

Koo294
  • Members
  • 16 posts
  • Location:Installation 01
  • Projects:Speak of a ring travels far...
  •  Top Hobbitses

Posted 01 August 2013 - 11:27 AM

So

 

ObjectFilter = ANY +INFANTRY -MONSTER

 

lets infantry through but not monster infantry, whereas using NONE would let any infantry through and ALL would let any none-monster through. Got it.

 

Thanks!



#4 Lauri

Lauri

    Let us remember foREVer

  • Hosted
  • 10,419 posts
  • Location:Norway
  • Projects:'The 4th Age' and 'Shadow and Flame'
  •  The very worst T3A Team Chamber Member

Posted 01 August 2013 - 03:11 PM

I think that NONE +INFANTRY would affect those who only have the INFANTRY KindOf, and nothing else. That basically makes it useless for KindOfs, because there is nothing that only has the INFANTRY KindOf and nothing else. ANY +INFANTRY affects anyone who have INFANTRY as a KindOf, while ALL affects everything.

 

Basically NONE is used for specific objects, while ANY is used for types of objects. Examples:

NONE +GondorFighter = This thing only affects the Gondor Fighters.

ANY +INFANTRY -ARCHER -HERO = This thing affects Gondor Fighters and Tower Guards, but will not affect Archers and Rangers, even though they are INFANTRY too. Any hero is excluded too.


Shadow and Flame BETA 0.6 RELEASED - Link





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users