User Tools

Site Tools


modding:function:objsetoverlaydata

Discuss this page on this pages TalkPage

objSetOverlayData

Syntax (objSetOverlayData obj overlayID attrib data)
Arguments obj: the object the overlay is on (can be itself, gSource)
overlayID: The ID of the overlay. If the overlay itself is calling this function use aOverlayID.
attrib: the name of the data to set
data: the new value of the data
Returns
Category space objects overlays
Description Sets named data on an overlay.

Example

(objSetOverlayData gSource aOverlayID 'dataField 10000000000)

Sets the “dataField” data field to ten billion.

Overlay Types

Return to Object functions list

Return to Functions list

modding/function/objsetoverlaydata.txt · Last modified: 2017/01/24 05:35 by xephyr