Flexible Rules
Home Publications Examples Downloads API Overview API Doc Tutorials

entities with property

Synopsis:

(entities with property property = value)
(entities with property property not = value)

Description:

Returns the list of all the entities of the game which have the value of property property equal/not equal to value.

Example:

(foreach player in (entities with property 
				"points" =  4)
	(send new message "4-Points" to player))
(foreach player in (entities with property 
				"points" not =  4)
	(send new message "Not-4-Points" to player))


Contact: Fulvio Frapolli (fulvio . frapolli //at// unifr . ch), Amos Brocco (amos . brocco //at// unifr . ch)
* Remove spaces and replace //at// with @
© 2009