OCF_PowerSupply

Category: Objects / OCF
Since engine version: 4.6.5.0 CP

Description

Object character flag: Energy supplier. This property is controlled by DefCore entry "LineConnect". This will apply to sole energy suppliers but also to energy consumers, if they are completely built, have some energy stored, and an outgoing energy line can be connected.

Syntax

int OCF_PowerSupply ();

Remarks

This value is also defined as a constant. Thus the parameter brackets can be omitted.
For more information and examples regarding these constants see object character flags.
See also: FindObject, GetOCF, OCF_PowerConsumer, Object character flags
Sven2, Mai 2002