I believe the Set should allow use of literals. Other areas, such
as several of the logical operators allow use of literals. I have
a case where I want an attribute that is an array to be set to
an attribute array found on another agent. The problem is the set
is not allowing me to access the array of the other agent. I am
forced to set it to Unit (more as a reminder to modify it later)
and then manually go into the code and set it to what I would like.
If you look at the included model's Person rule for Search For Food,
I would like the set to be for Food Center's Coordinate attribute.
However, the set does not allow me to select that. So instead I
set it to unit and then manually change it to
setFoodLocation(foodCenter.getCoordinates());
If I had a literal, I could set the literal on the set to
foodCenter.getCoordinates()
ev