Difference between revisions of "Is-selected Condition"

From AgentCubes
Jump to navigation Jump to search
imported>Andri
(Created page with "Category:AgentCubes_Conditions")
 
imported>Repenning
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
[[Image:Is selected action.png|150px|Is selected action.png]]
 +
 +
{| cellpadding="10" cellspacing="0" border="0" width="100%"
 +
|-
 +
| align="left" valign="top" width="80" | '''Definition:'''
 +
| align="left" valign="top" width="100%" |
 +
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.
 +
 +
|-
 +
| align="left" valign="top" width="80" | '''Parameters:'''
 +
| align="left" valign="top" width="100%" | none
 +
|-
 +
| align="left" valign="top" width="80" | '''Example:'''
 +
| align="left" valign="top" width="100%" | 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.
 +
|}
 +
 
[[Category:AgentCubes_Conditions]]
 
[[Category:AgentCubes_Conditions]]

Latest revision as of 02:57, 20 April 2012

Is selected action.png

Definition:

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.