SetBridgeActionData

Category: Objects / Activity
Since engine version: 4.9.9.0 CR

Description

Sets additional parameters for a currently executed BRIDGE procedure.

Syntax

bool SetBridgeActionData (int iBridgeLength, bool fMoveClonk, bool fWall, int iBridgeMaterial, object pObj);

Parameters

iBridgeLength:
Length of the bridge.
fMoveClonk:
Whether the clonk is supposed to move with the bridge.
fWall:
true if the clonk is meant to build a ceiling above his head instead of a bridge underneath his feet.
iBridgeMaterial:
Material number of the material to be used for the bridge.
pObj:
Object for which to change action data. Can be 0 in local calls.
See also: GetAction, GetActionTarget, ObjectSetAction, SetAction, SetActionData, SetComDir, SetDir, SetPhase
Clonkonaut, Mai 2008