SetBridgeActionData

Category: Objects / Activity
Since engine version: 1.0 OC (extended in 9.0 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.

Remark

Removed in 9.0 OC. You can draw bridges on an object via effects and DrawMaterialQuad.
See also: GetAction, GetActionTarget, SetAction, SetActionData, SetComDir, SetDir, SetPhase
Clonkonaut, 2008-05
Marky, 2019-04