C4 Engine
C4 Engine API Documentation

Portal::SetConnectedZone

Defined in:  C4Portals.h
Sets the zone to which the portal is connected.
Prototype

void SetConnectedZone(Zone *zone);

Parameters
zone The zone to which the portal is to be connected.
Description
The SetConnectedZone function sets the zone to which the portal is connected. This is the zone to which the portal leads, allowing cameras and lights to see from one zone to another.
See Also

Zone

Portal::GetConnectedZone