Functions Documentation | |
Name | objMatches |
Syntax | (objMatches obj source filter) -> True/Nil |
Argument List | obj: object to check against criteria source: object to use as source in criteria filter: criteria to match against |
Returns | Boolean: True or nil depending upon if the spaceobject matches |
Category | spaceobject |
Description | Used to check if an spaceobject matches with the criteria. The source object is the one used as the base of the criteria |
Example |
(objMatches (objGetTarget gPlayerShip) (objGetTarget gPlayerShip) "sE") checks if the current target of the playership is a ship and an enemy (note, there are easier ways of doing this) |
Comment | For a list of criteria see the wiki: http://wiki.neurohack.com/transcendence/wiki/functions/legend#object_criteria |
Mod of the Month (February '24) |
Featured Mods (random) |
Captain's Log 3.1 |
Cruiser, and a pair of fighters. |
Quality Mods (random) |
BattleZone |
SI Commonwealth Military Station |
Balanced Mods (random) |
Repair droids |
System Map Scanner Pack 1.0 |