Best way to use custom controls

Before ES times i always uesd controls to influence the spatial and sub spacials only.

A common example:

You have turrets that can track units.

The control would be something like:

if target not null
  rotate turret to face player
  rotate to idle

And setting the target to the control is done in an appstate that has access to all spatials