Enter

Category: Objects / Position
Since engine version: 1.0 OC

Description

Moves an object into the contents of another object. This call invokes no RejectCollect, Collection, or ActivateEntracnce callbacks in the target object. It does, however, cause RejectEntrance and Entrance callbacks in the entering object.

Syntax

bool Enter(object target);

Parameter

target:
Target container.

Example

for(var obj in FindObjects(Find_ID(Gold)))
	obj->Enter(GetCrew(0,0));
All gold chunks in the landscape are moved into the first clonk of the first player.
See also: Collect, Exit
Sven2, 2001-11