Behaviors > Attributes


Read our article on Getting / Setting Remote Attributes for an explanation of these blocks.


For Actor

Get Attribute (for Actor)

for actor , get text from behavior text

Gets the value of an attribute (from the specified behavior) from the actor you specify.

We strongly recommend clicking the dropdown arrow for the first blank and selecting the desired entry under Attribute Names -- this will fill everything out for you automatically.

example

[ACTOR].getValue([TEXT], [TEXT])

Set Attribute (for Actor)

for actor , set text to object for behavior text

Sets the value of an attribute (from the specified behavior) for the actor you specify.

We strongly recommend clicking the dropdown arrow for the first blank and selecting the desired entry under Attribute Names -- this will fill the first and third fields out for you automatically.

[ACTOR].setValue([TEXT], [TEXT], [VALUE]);

For Scene

Get Attribute (for Scene)

for this scene, get text from behavior text

Gets the value of an attribute (from the specified behavior) from the current scene.

We strongly recommend clicking the dropdown arrow for the first blank and selecting the desired entry under Attribute Names -- this will fill everything out for you automatically.

getValueForScene([TEXT], [TEXT])

Set Attribute (for Scene)

for this scene, set text to object for behavior text

Sets the value of an attribute (from the specified behavior) for the current scene.

We strongly recommend clicking the dropdown arrow for the first blank and selecting the desired entry under Attribute Names -- this will fill the first and third fields out for you automatically.

setValueForScene([TEXT], [TEXT], [VALUE]);