User Tools

Site Tools


Discuss this page on this pages TalkPage


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.


(objHasAttribute "&scCorsair;" 'charonPirates)

Returns “true”.

Return to type functions list

Return to Functions list

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