Libraries‎ > ‎Library‎ > ‎

update multiple attributes

BehaviourComposer: ignore everything before this.
Use this behaviour to create and set many agent attributes.
Begin micro-behaviour

Update my agent attributes

Begin NetLogo code:

substitute-text-area-for columns: 72 attribute-name1 my-attribute1                   
substitute-text-area-for columns: 72 attribute-expression1 my-attribute1 + 1                                         
   [set attribute-name1 
        attribute-expression1]
substitute-text-area-for columns: 72 attribute-name2 my-attribute2                   
substitute-text-area-for columns: 72 attribute-expression2 my-attribute2 + 1                                         
   [set attribute-name2 
        attribute-expression2]

End NetLogo code

Variants

text

Related behaviours

text

How this works

text

History

text

BehaviourComposer: ignore everything after this.
Comments