Saturday, December 6, 2008

Filtering once more

I finally finished the last bit remaining for registering triggers from the console, which is filtering.

Here is how the previous action would be written with a filter:

Global.RegisterTrigger():EventID("CollisionEvent"), ActionID("Global.Echo"), ActionProperties({{"Text", "Collision occurred"}}), Filters({ {"InstanceFilter", {{"InstanceID", "Radar2"}, {"FilterTarget", "Either"}}} })

This was the last major remaining task for version 0.2 and thanks to Khaled's work on the console and loads of efforts, it's out of the way now.

No comments: