Sets the activity targets of an object. The result depends on the
procedure of the current action.
protected func Entrance(pIntoObj)
{
return(SetActionTargets(pIntoObj));
}
Script for a shield spell using an ATTACH action: when the carrying clonk enters a building, the spell will attach itself to the building. This script will not, however, reattach the spell to the clonk when he leaves the building.