SetBridgeActionData

Category: Objects / Activity
Since engine version: 5.1 OC

Description

Sets additional parameters for a currently executed BRIDGE procedure of the calling object.

Syntax

bool SetBridgeActionData(int bridge_length, bool move_clonk, bool build_wall, int bridge_material);

Parameters

bridge_length:
Length of the bridge.
move_clonk:
Whether the clonk is supposed to move with the bridge.
build_wall:
true if the clonk is meant to build a ceiling above his head instead of a bridge underneath his feet.
bridge_material:
Material number of the material to be used for the bridge.
See also: GetAction, GetActionTarget, SetAction, SetActionData, SetComDir, SetDir, SetPhase
Clonkonaut, 2008-05