Flexible Rules
Home Publications Examples Downloads API Overview API Doc Tutorials

entities with property


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


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


(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