# SetActionData

Objects
Activity
4.6.5.0 CP
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.
protected func ControlSpecial2() { SetAction("Bridge"); SetActionData(Material("Gold")); SetComDir(COMD_Up); }
Script for a special clonk: with key Special 2 he will build a vertical gold bridge.
FindObject
(WWNG)->SetActionData(256*3 + 2)
Adjusts the attaching vertex of the windmill wheel so that the wheel's third vertex will attach to the second vertex of the windmill scaffolding.
SetAction
SetBridgeActionData
GetAction
GetActionTarget
SetPhase
SetDir
SetComDir
Sven2
2003-06