User Tools

Site Tools


modding:function:typmatches

Discuss this page on this pages TalkPage

typMatches

Syntax (typMatches unid criteria)
Arguments unid: the unid to check
criteria: the criteria to check
Returns True if successful,Nil otherwise
Category type, unid
Description Checks if a type matches the criteria.

Example

(typMatches typeUNID "s")

Returns “True” if the type is a ship class unid.

Type Criteria

Return to type functions list

Return to Functions list

modding/function/typmatches.txt · Last modified: 2017/01/20 05:04 by xephyr