User Tools

Site Tools


modding:function:typhasattribute

This is an old revision of the document!


Discuss this page on this pages TalkPage

typHasAttribute

Syntax (typHasAttribute unid attrib)
Arguments unid: The unid you want to check for attributes.
attrib: attribute to check for
Returns True if successful, Nil otherwise
Category type, unid, attributes
Description Use for checking if a type holds an attribute.

Example

(objHasAttribute &scCorsair; "charonPirates")

Returns “true”.

Return to type functions list

Return to Functions list

modding/function/typhasattribute.1484886277.txt.gz · Last modified: 2017/01/20 04:24 by xephyr