# SetActionTargets

Objects
Activity
5.1 OC
void
object target1 First target object
object target2 Second target object
Sets the activity targets of an object. The result depends on the procedure of the current action.
protected func Entrance(object into_object) { SetActionTargets(into_object); }
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.
GetAction
GetActionTarget
GetProcedure
Sven2
2003-06