# SetActionData

Objects
Activity
5.1 OC
bool
any data Additional parameter for the activity.
Sets the extra data for the current action. The application of the extra data depends on the procedure of the current action. See ActMap procedures.
func ControlUse(object clonk) { clonk->SetAction("Bridge"); clonk->SetActionData(Material("Gold")); clonk->SetComDir(COMD_Up); }
Script for a special item: lets the clonk build a vertical gold bridge.
SetAction
SetBridgeActionData
GetAction
GetActionTarget
SetPhase
SetDir
SetComDir
Sven2
2003-06