Is-selected Condition

From AgentSheetsWiki

Revision as of 20:57, 19 April 2012 by Repenning (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Is selected action.png


True if the agent is selected.

An agents is selected by a user clicking it. A selected agent can be recognized by a yellow hello.

Parameters: none
Example: If you have many agents of the same type but like to have only one of them be cursor key controlled then make the user click the agent to select it and write cursor key rules which will also check if the agent is selected. This way only one agent can be selected at one time and only this agent would be controlled through cursor keys.
Personal tools