AddTweenChainObject

Family: Tweening · One form

What it does

AddTweenChainObject writes to a Tweening object: it adds rather than reads. It takes chainID (an integer), tweenID (an integer), objectID (an integer) and delay (a float), and returns nothing. chainID is the id of a Chain object, obtained elsewhere in the Tweening family.

Syntax

AddTweenChainObject(chainID integer, tweenID integer, objectID integer, delay float)

Parameters

NameType
chainIDinteger
tweenIDinteger
objectIDinteger
delayfloat

Every form returns

nothing

Example · generated

chain = CreateTweenChain()tween = CreateTweenObject(1.0)AddTweenChainObject(chain, tween, 1, 1.0)DO  Sync()LOOP

CreateTweenChain and CreateTweenObject are there to give the call something to act on; AddTweenChainObject is the line that matters. The DO … LOOP is not decoration: a classic BASIC program ends the moment it runs out of lines, and Sync() is what draws the frame.

149 commands in Tweening