Farsi / Persian
NetLogo Models Library:
This example demonstrates how to use overrides in HubNet.
The most important part of the code is found in the EXECUTE-COMMAND procedure. When the server receives a message that the client clicked on the view it sends a message back to the client to change the color of the nearby patches.
Note that this feature will only work if you have the "Mirror 2D view on clients" box checked in the HubNet Control Center.
Comment out the line:
This model demonstrates basic usage of HUBNET-SEND-OVERRIDE and HUBNET-CLEAR-OVERRIDES.