I am a third year architecture student who is new to Python. I’m trying to edit an Agent Systems script in Python to add new behaviors and create predator agents to create a sort of flocking script. However, when I try to add new behaviors or define the predators, I get the same error:
Runtime error (UnboundNameException): name ‘agentSystem’ is not defined
line 90, in script
Not sure where to go from here because the error is not specific in how to fix it. I would appreciate any help you can offer. Thanks.
AgentPredatorSystems.gh (37.5 KB)