User Tools

Site Tools


modding:function:objsetoverlayproperty

This is an old revision of the document!


Discuss this page on this pages TalkPage

objSetOverlayProperty

Syntax (objSetOverlayProperty obj overlayID property value)
Arguments obj: the object the overlay is on (can be itself)
overlayID: The ID of the overlay. If the overlay itself is calling this function use aOverlayID.
property: the property on the overlay to set (see table below)
value: the new value of the property
Returns
Category missions
Description Accepts a mission, and calls the <OnAccepted> event on the mission type.

Properties

'counter
'counterLabel
'pos position
'rotation angle

Example

(objSetOverlayProperty gSource aOverlayID 'counter 25)

Sets the counter property to 25 ticks.

Overlay Types

Return to Object functions list

Return to Functions list

modding/function/objsetoverlayproperty.1485235869.txt.gz · Last modified: 2017/01/24 05:31 by xephyr