Discuss this page on this pages TalkPage

typIncData

Syntax (typIncData unid attrib [increment])
Arguments unid: the unid of the type you want to increment data on
attrib: the data that you want to increment
increment: the value to add to the data
Returns new value
Category type, unid
Description Use to increment data on a type.

Example

(typIncData typeUnid 'shipCounter 10)

Increases the data field “shipCounter” on the type by 10.

Return to type functions list

Return to Functions list